v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <trace-extension.h>
Public Member Functions | |
TraceExtension () | |
virtual v8::Handle < v8::FunctionTemplate > | GetNativeFunctionTemplate (v8::Isolate *isolate, v8::Handle< v8::String > name) |
Public Member Functions inherited from Extension | |
Extension (const char *name, const char *source=0, int dep_count=0, const char **deps=0, int source_length=-1) | |
virtual | ~Extension () |
const char * | name () const |
size_t | source_length () const |
const String::ExternalAsciiStringResource * | source () const |
int | dependency_count () |
const char ** | dependencies () |
void | set_auto_enable (bool value) |
bool | auto_enable () |
Static Public Member Functions | |
static void | Trace (const v8::FunctionCallbackInfo< v8::Value > &args) |
static void | JSTrace (const v8::FunctionCallbackInfo< v8::Value > &args) |
static void | JSEntrySP (const v8::FunctionCallbackInfo< v8::Value > &args) |
static void | JSEntrySPLevel2 (const v8::FunctionCallbackInfo< v8::Value > &args) |
static Address | GetJsEntrySp () |
static void | InitTraceEnv (TickSample *sample) |
static void | DoTrace (Address fp) |
Definition at line 36 of file trace-extension.h.
|
inline |
Definition at line 38 of file trace-extension.h.
|
static |
Definition at line 88 of file trace-extension.cc.
References RegisterState::fp, v8::internal::fp, CcTest::i_isolate(), and RegisterState::sp.
Referenced by TraceExtension::Trace().
|
static |
Definition at line 120 of file trace-extension.cc.
References CHECK_NE, CcTest::i_isolate(), Isolate::js_entry_sp(), and v8::internal::NULL.
Referenced by TraceExtension::JSEntrySP(), TraceExtension::JSEntrySPLevel2(), and TEST().
|
virtual |
Reimplemented from Extension.
Definition at line 43 of file trace-extension.cc.
References CHECK, Value::Equals(), TraceExtension::JSEntrySP(), TraceExtension::JSEntrySPLevel2(), TraceExtension::JSTrace(), FunctionTemplate::New(), String::NewFromUtf8(), and TraceExtension::Trace().
|
static |
Definition at line 83 of file trace-extension.cc.
References v8::internal::sample.
Referenced by TEST().
|
static |
Definition at line 126 of file trace-extension.cc.
References CHECK_NE, and TraceExtension::GetJsEntrySp().
Referenced by TraceExtension::GetNativeFunctionTemplate().
|
static |
Definition at line 132 of file trace-extension.cc.
References CHECK_EQ, CHECK_NE, FunctionCallbackInfo< T >::GetIsolate(), and TraceExtension::GetJsEntrySp().
Referenced by TraceExtension::GetNativeFunctionTemplate().
|
static |
Definition at line 115 of file trace-extension.cc.
Referenced by TraceExtension::GetNativeFunctionTemplate(), and TEST().
|
static |
Definition at line 98 of file trace-extension.cc.
References TraceExtension::DoTrace().
Referenced by TraceExtension::GetNativeFunctionTemplate(), and TEST().