v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
builtins.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Builtins
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define CODE_AGE_LIST_WITH_ARG(V, A)
 
#define CODE_AGE_LIST_IGNORE_ARG(X, V)   V(X)
 
#define CODE_AGE_LIST(V)   CODE_AGE_LIST_WITH_ARG(CODE_AGE_LIST_IGNORE_ARG, V)
 
#define CODE_AGE_LIST_COMPLETE(V)
 
#define DECLARE_CODE_AGE_BUILTIN(C, V)
 
#define BUILTIN_LIST_C(V)
 
#define BUILTIN_LIST_A(V)
 
#define BUILTIN_LIST_H(V)
 
#define BUILTIN_LIST_DEBUG_A(V)
 
#define BUILTINS_LIST_JS(V)
 
#define DEF_ENUM_C(name, ignore)   k##name,
 
#define DEF_ENUM_A(name, kind, state, extra)   k##name,
 
#define DEF_ENUM_H(name, kind)   k##name,
 
#define DEF_ENUM_C(name, ignore)   c_##name,
 
#define DEF_ENUM(name, ignore)   name,
 
#define DECLARE_BUILTIN_ACCESSOR_C(name, ignore)   Handle<Code> name();
 
#define DECLARE_BUILTIN_ACCESSOR_A(name, kind, state, extra)   Handle<Code> name();
 
#define DECLARE_BUILTIN_ACCESSOR_H(name, kind)   Handle<Code> name();
 
#define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C)
 

Enumerations

enum  BuiltinExtraArguments { NO_EXTRA_ARGUMENTS = 0, NEEDS_CALLED_FUNCTION = 1 }
 

Macro Definition Documentation

#define BUILTIN_LIST_A (   V)

Definition at line 88 of file builtins.h.

#define BUILTIN_LIST_C (   V)
Value:
V(Illegal, NO_EXTRA_ARGUMENTS) \
\
V(EmptyFunction, NO_EXTRA_ARGUMENTS) \
\
V(ArrayPush, NO_EXTRA_ARGUMENTS) \
V(ArrayPop, NO_EXTRA_ARGUMENTS) \
V(ArrayShift, NO_EXTRA_ARGUMENTS) \
V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \
V(ArraySlice, NO_EXTRA_ARGUMENTS) \
V(ArraySplice, NO_EXTRA_ARGUMENTS) \
V(ArrayConcat, NO_EXTRA_ARGUMENTS) \
\
V(HandleApiCall, NEEDS_CALLED_FUNCTION) \
V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \
V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \
V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \
\
V(StrictModePoisonPill, NO_EXTRA_ARGUMENTS)

Definition at line 67 of file builtins.h.

#define BUILTIN_LIST_DEBUG_A (   V)

Definition at line 230 of file builtins.h.

#define BUILTIN_LIST_H (   V)
Value:
V(LoadIC_Slow, LOAD_IC) \
V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \
V(StoreIC_Slow, STORE_IC) \
V(KeyedStoreIC_Slow, KEYED_STORE_IC) \
V(LoadIC_Normal, LOAD_IC) \
V(StoreIC_Normal, STORE_IC)

Definition at line 192 of file builtins.h.

#define BUILTINS_LIST_JS (   V)
Value:
V(EQUALS, 1) \
V(STRICT_EQUALS, 1) \
V(COMPARE, 2) \
V(ADD, 1) \
V(SUB, 1) \
V(MUL, 1) \
V(DIV, 1) \
V(MOD, 1) \
V(BIT_OR, 1) \
V(BIT_AND, 1) \
V(BIT_XOR, 1) \
V(SHL, 1) \
V(SAR, 1) \
V(SHR, 1) \
V(DELETE, 2) \
V(IN, 1) \
V(INSTANCE_OF, 1) \
V(FILTER_KEY, 1) \
V(CALL_NON_FUNCTION, 0) \
V(CALL_NON_FUNCTION_AS_CONSTRUCTOR, 0) \
V(CALL_FUNCTION_PROXY, 1) \
V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR, 1) \
V(TO_OBJECT, 0) \
V(TO_NUMBER, 0) \
V(TO_STRING, 0) \
V(STRING_ADD_LEFT, 1) \
V(STRING_ADD_RIGHT, 1) \
V(APPLY_PREPARE, 1) \
V(APPLY_OVERFLOW, 1)
#define COMPARE(asm_, compare_string)
#define IN

Definition at line 234 of file builtins.h.

#define CODE_AGE_LIST (   V)    CODE_AGE_LIST_WITH_ARG(CODE_AGE_LIST_IGNORE_ARG, V)

Definition at line 50 of file builtins.h.

#define CODE_AGE_LIST_COMPLETE (   V)
Value:
V(NotExecuted) \
V(ExecutedOnce) \
V(NoAge) \
#define CODE_AGE_LIST_IGNORE_ARG(X, V)
Definition: builtins.h:48
#define CODE_AGE_LIST_WITH_ARG(V, A)
Definition: builtins.h:41

Definition at line 53 of file builtins.h.

Referenced by Heap::CheckpointObjectStats().

#define CODE_AGE_LIST_IGNORE_ARG (   X,
 
)    V(X)

Definition at line 48 of file builtins.h.

#define CODE_AGE_LIST_WITH_ARG (   V,
 
)
Value:
V(Quadragenarian, A) \
V(Quinquagenarian, A) \
V(Sexagenarian, A) \
V(Septuagenarian, A) \
V(Octogenarian, A)

Definition at line 41 of file builtins.h.

#define DECLARE_BUILTIN_ACCESSOR_A (   name,
  kind,
  state,
  extra 
)    Handle<Code> name();

Definition at line 312 of file builtins.h.

#define DECLARE_BUILTIN_ACCESSOR_C (   name,
  ignore 
)    Handle<Code> name();

Definition at line 311 of file builtins.h.

#define DECLARE_BUILTIN_ACCESSOR_H (   name,
  kind 
)    Handle<Code> name();

Definition at line 314 of file builtins.h.

#define DECLARE_CODE_AGE_BUILTIN (   C,
 
)
Value:
V(Make##C##CodeYoungAgainOddMarking, BUILTIN, \
UNINITIALIZED, kNoExtraICState) \
V(Make##C##CodeYoungAgainEvenMarking, BUILTIN, \
UNINITIALIZED, kNoExtraICState)
#define BUILTIN(name)
Definition: builtins.cc:143

Definition at line 59 of file builtins.h.

#define DECLARE_CODE_AGE_BUILTIN_GENERATOR (   C)
Value:
static void Generate_Make##C##CodeYoungAgainEvenMarking( \
MacroAssembler* masm); \
static void Generate_Make##C##CodeYoungAgainOddMarking( \
MacroAssembler* masm);

Definition at line 393 of file builtins.h.

#define DEF_ENUM (   name,
  ignore 
)    name,

Definition at line 305 of file builtins.h.

#define DEF_ENUM_A (   name,
  kind,
  state,
  extra 
)    k##name,

Definition at line 286 of file builtins.h.

#define DEF_ENUM_C (   name,
  ignore 
)    k##name,

Definition at line 298 of file builtins.h.

#define DEF_ENUM_C (   name,
  ignore 
)    c_##name,

Definition at line 298 of file builtins.h.

#define DEF_ENUM_H (   name,
  kind 
)    k##name,

Definition at line 287 of file builtins.h.