Lines Matching refs:Function
44 using v8::Function;
114 "native function trace();"
115 "native function js_trace();"
116 "native function js_entry_sp();"
117 "native function js_entry_sp_level2();";
204 static bool IsAddressWithinFuncCode(JSFunction* function, Address addr) {
205 i::Code* code = function->code();
217 // This C++ function is called as a constructor, to grab the frame pointer
218 // from the calling function. When this function runs, the stack contains
219 // a C_Entry frame and a Construct frame above the calling function's frame.
245 // Use the API to create a JSFunction object that calls the above C++ function.
250 Local<Function> fun = constructor_template->GetFunction();
255 // Creates a global function named 'func_name' that calls the tracing
256 // function 'trace_func_name' with an actual EBP register value,
262 "function %s() {"
268 // Create the FPGrabber function, which grabs the caller's frame pointer
278 // execution of a native function called from JS code. In this case,
290 // Create global function JSFuncDoTrace which calls
291 // extension function trace() with the current frame pointer value.
294 "function JSTrace() {"
311 // Stack tracing will start from the first JS function, i.e. "JSFuncDoTrace"
334 // Create global function JSFuncDoTrace which calls
335 // extension function js_trace() with the current frame pointer value.
338 "function JSTrace() {"
341 "function OuterJSTrace() {"