v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bootstrapper.cc File Reference
#include "v8.h"
#include "accessors.h"
#include "api.h"
#include "bootstrapper.h"
#include "compiler.h"
#include "debug.h"
#include "execution.h"
#include "global-handles.h"
#include "isolate-inl.h"
#include "macro-assembler.h"
#include "natives.h"
#include "objects-visiting.h"
#include "platform.h"
#include "snapshot.h"
#include "extensions/externalize-string-extension.h"
#include "extensions/gc-extension.h"
#include "extensions/statistics-extension.h"
Include dependency graph for bootstrapper.cc:

Go to the source code of this file.

Data Structures

class  BASE_EMBEDDED< Visitor >
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define INSTALL_NATIVE(Type, name, var)
 
#define INSTALL_BUILTIN_ID(holder_expr, fun_name, name)
 
#define JSFUNCTION_RESULT_CACHE_LIST(F)   F(16, native_context()->regexp_function())
 
#define F(size, func)   + 1
 
#define F(size, func)
 

Macro Definition Documentation

#define F (   size,
  func 
)    + 1
#define F (   size,
  func 
)
Value:
do { \
FixedArray* cache = CreateCache((size), Handle<JSFunction>(func)); \
caches->set(index++, cache); \
} while (false)
#define INSTALL_BUILTIN_ID (   holder_expr,
  fun_name,
  name 
)
Value:
{ \
Handle<JSObject> holder = ResolveBuiltinIdHolder( \
native_context(), #holder_expr); \
BuiltinFunctionId id = k##name; \
InstallBuiltinFunctionId(holder, #fun_name, id); \
}
#define INSTALL_NATIVE (   Type,
  name,
  var 
)
Value:
Handle<String> var##_name = factory()->LookupAsciiSymbol(name); \
Object* var##_native = \
native_context()->builtins()->GetPropertyNoExceptionThrown( \
*var##_name); \
native_context()->set_##var(Type::cast(var##_native));

Definition at line 1383 of file bootstrapper.cc.

#define JSFUNCTION_RESULT_CACHE_LIST (   F)    F(16, native_context()->regexp_function())

Definition at line 1885 of file bootstrapper.cc.