Lines Matching refs:v8
1 // Copyright 2011 the V8 project authors. All rights reserved.
28 #include "v8.h"
35 namespace v8 {
113 v8::Local<v8::Message> api_message_obj = v8::Utils::MessageToLocal(message);
115 v8::NeanderArray global_listeners(FACTORY->message_listeners());
126 v8::NeanderObject listener(JSObject::cast(global_listeners.get(i)));
128 v8::MessageCallback callback =
129 FUNCTION_CAST<v8::MessageCallback>(callback_obj->foreign_address());
133 v8::TryCatch try_catch;
134 callback(api_message_obj, v8::Utils::ToLocal(callback_data));
182 } } // namespace v8::internal