v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <builtins.h>
Public Types | |
enum | Name { builtin_count } |
enum | CFunctionId { cfunction_count } |
enum | JavaScript { id_count } |
Public Member Functions | |
~Builtins () | |
void | SetUp (bool create_heap_objects) |
void | TearDown () |
void | IterateBuiltins (ObjectVisitor *v) |
const char * | Lookup (byte *pc) |
Code * | builtin (Name name) |
Address | builtin_address (Name name) |
Handle< Code > | GetCode (JavaScript id, bool *resolved) |
bool | is_initialized () const |
Static Public Member Functions | |
static Address | c_function_address (CFunctionId id) |
static const char * | GetName (JavaScript id) |
static int | GetArgumentsCount (JavaScript id) |
static int | NumberOfJavaScriptBuiltins () |
Friends | |
class | BuiltinFunctionTable |
class | Isolate |
Definition at line 271 of file builtins.h.
enum CFunctionId |
Enumerator | |
---|---|
cfunction_count |
Definition at line 297 of file builtins.h.
enum JavaScript |
Enumerator | |
---|---|
id_count |
Definition at line 304 of file builtins.h.
enum Name |
Enumerator | |
---|---|
builtin_count |
Definition at line 286 of file builtins.h.
~Builtins | ( | ) |
Definition at line 1520 of file builtins.cc.
Definition at line 320 of file builtins.h.
Referenced by Heap::AllocateSharedFunctionInfo(), SharedFunctionInfo::AttachInitialMap(), RuntimeProfiler::AttemptOnStackReplacement(), JSFunction::is_compiled(), JSFunction::IsInRecompileQueue(), JSFunction::IsMarkedForLazyRecompilation(), JSFunction::IsMarkedForParallelRecompilation(), TypeFeedbackOracle::LoadIsBuiltin(), TypeFeedbackOracle::LoadIsMegamorphicWithTypeInfo(), JSFunction::MarkForLazyRecompilation(), JSFunction::MarkForParallelRecompilation(), Compiler::RecordFunctionCompilation(), SharedFunctionInfo::StartInobjectSlackTracking(), and TypeFeedbackOracle::StoreIsMegamorphicWithTypeInfo().
Definition at line 326 of file builtins.h.
|
inlinestatic |
Definition at line 330 of file builtins.h.
|
inlinestatic |
Definition at line 335 of file builtins.h.
Handle<Code> GetCode | ( | JavaScript | id, |
bool * | resolved | ||
) |
|
inlinestatic |
Definition at line 334 of file builtins.h.
|
inline |
Definition at line 339 of file builtins.h.
void IterateBuiltins | ( | ObjectVisitor * | v | ) |
Definition at line 1687 of file builtins.cc.
Referenced by Heap::IterateStrongRoots().
const char * Lookup | ( | byte * | pc | ) |
Definition at line 1692 of file builtins.cc.
References Code::contains(), and NULL.
|
inlinestatic |
Definition at line 337 of file builtins.h.
References Builtins::id_count.
void SetUp | ( | bool | create_heap_objects | ) |
Definition at line 1610 of file builtins.cc.
References ASSERT, BUILTIN, code(), MacroAssembler::CodeObject(), Heap::CreateCode(), V8::FatalProcessOutOfMemory(), flags, BuiltinDesc::flags, BuiltinFunctionTable::functions(), GDBJIT, BuiltinDesc::generator, Assembler::GetCode(), MacroAssembler::has_frame(), Isolate::heap(), v8::internal::KB, NULL, v8::internal::PrintF(), PROFILE, and BuiltinDesc::s_name.
void TearDown | ( | ) |
Definition at line 1682 of file builtins.cc.
|
friend |
Definition at line 386 of file builtins.h.
|
friend |
Definition at line 387 of file builtins.h.