Lines Matching refs:v8
2 // Copyright 2006-2008 the V8 project authors. All rights reserved.
29 #include "v8.h"
36 namespace v8 {
114 v8::Local<v8::Message> api_message_obj = v8::Utils::MessageToLocal(message);
116 v8::NeanderArray global_listeners(FACTORY->message_listeners());
127 v8::NeanderObject listener(JSObject::cast(global_listeners.get(i)));
129 v8::MessageCallback callback =
130 FUNCTION_CAST<v8::MessageCallback>(callback_obj->proxy());
134 v8::TryCatch tryCatch;
135 callback(api_message_obj, v8::Utils::ToLocal(callback_data));
179 } } // namespace v8::internal