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
serialize.cc File Reference
#include "v8.h"
#include "accessors.h"
#include "api.h"
#include "bootstrapper.h"
#include "execution.h"
#include "global-handles.h"
#include "ic-inl.h"
#include "natives.h"
#include "platform.h"
#include "runtime.h"
#include "serialize.h"
#include "snapshot.h"
#include "stub-cache.h"
#include "v8threads.h"
Include dependency graph for serialize.cc:

Go to the source code of this file.

Namespaces

 v8
 
 v8::internal
 

Macros

#define DEF_ENTRY_C(name, ignored)
 
#define DEF_ENTRY_C(name, ignored)
 
#define DEF_ENTRY_A(name, kind, state, extra)   DEF_ENTRY_C(name, ignored)
 
#define RUNTIME_ENTRY(name, nargs, ressize)
 
#define IC_ENTRY(name)
 
#define COUNTER_ENTRY(name, caption)
 
#define BUILD_NAME_LITERAL(CamelName, hacker_name)   "Isolate::" #hacker_name "_address",
 
#define ACCESSOR_DESCRIPTOR_DECLARATION(name)
 
#define CASE_STATEMENT(where, how, within, space_number)
 
#define CASE_BODY(where, how, within, space_number_if_any)
 
#define ALL_SPACES(where, how, within)
 
#define FOUR_CASES(byte_code)
 
#define SIXTEEN_CASES(byte_code)
 
#define COMMON_RAW_LENGTHS(f)
 
#define RAW_CASE(index)
 
#define RAW_CASE(index)
 

Macro Definition Documentation

#define ACCESSOR_DESCRIPTOR_DECLARATION (   name)
Value:
Add((Address)&Accessors::name, \
Accessors::k##name, \
"Accessors::" #name);
byte * Address
Definition: globals.h:157
#define ALL_SPACES (   where,
  how,
  within 
)
Value:
CASE_STATEMENT(where, how, within, NEW_SPACE) \
CASE_BODY(where, how, within, NEW_SPACE) \
CASE_STATEMENT(where, how, within, OLD_DATA_SPACE) \
CASE_STATEMENT(where, how, within, OLD_POINTER_SPACE) \
CASE_STATEMENT(where, how, within, CODE_SPACE) \
CASE_STATEMENT(where, how, within, CELL_SPACE) \
CASE_STATEMENT(where, how, within, MAP_SPACE) \
CASE_BODY(where, how, within, kAnyOldSpace)
#define CASE_BODY(where, how, within, space_number_if_any)
#define CASE_STATEMENT(where, how, within, space_number)
#define BUILD_NAME_LITERAL (   CamelName,
  hacker_name 
)    "Isolate::" #hacker_name "_address",
#define CASE_BODY (   where,
  how,
  within,
  space_number_if_any 
)
#define CASE_STATEMENT (   where,
  how,
  within,
  space_number 
)
Value:
case where + how + within + space_number: \
ASSERT((where & ~kPointedToMask) == 0); \
ASSERT((how & ~kHowToCodeMask) == 0); \
ASSERT((within & ~kWhereToPointMask) == 0); \
ASSERT((space_number & ~kSpaceMask) == 0);
#define ASSERT(condition)
Definition: checks.h:270
#define COMMON_RAW_LENGTHS (   f)
#define COUNTER_ENTRY (   name,
  caption 
)
Value:
{ &Counters::name, \
Counters::k_##name, \
"Counters::" #name },
#define DEF_ENTRY_A (   name,
  kind,
  state,
  extra 
)    DEF_ENTRY_C(name, ignored)
#define DEF_ENTRY_C (   name,
  ignored 
)
Value:
Builtins::c_##name, \
"Builtins::" #name },
#define DEF_ENTRY_C (   name,
  ignored 
)
Value:
{ BUILTIN, \
Builtins::k##name, \
"Builtins::" #name },
#define BUILTIN(name)
Definition: builtins.cc:142
#define FOUR_CASES (   byte_code)
Value:
case byte_code: \
case byte_code + 1: \
case byte_code + 2: \
case byte_code + 3:
#define IC_ENTRY (   name)
Value:
IC::k##name, \
"IC::" #name },
#define RAW_CASE (   index)
Value:
case kRawData + index: { \
byte* raw_data_out = reinterpret_cast<byte*>(current); \
source_->CopyRaw(raw_data_out, index * kPointerSize); \
current = \
reinterpret_cast<Object**>(raw_data_out + index * kPointerSize); \
break; \
}
unsigned char byte
Definition: disasm.h:33
const int kPointerSize
Definition: globals.h:220
#define RAW_CASE (   index)
Value:
if (!outputting_code && bytes_to_output == index * kPointerSize && \
index * kPointerSize == to_skip) { \
sink_->PutSection(kRawData + index, "RawDataFixed"); \
to_skip = 0; /* This insn already skips. */ \
} else /* NOLINT */
const int kPointerSize
Definition: globals.h:220
#define RUNTIME_ENTRY (   name,
  nargs,
  ressize 
)
Value:
Runtime::k##name, \
"Runtime::" #name },
#define RUNTIME_FUNCTION(Type, Name)
Definition: arguments.h:121

Referenced by Code::CodeIterateBody(), and TEST().

#define SIXTEEN_CASES (   byte_code)
Value:
FOUR_CASES(byte_code) \
FOUR_CASES(byte_code + 4) \
FOUR_CASES(byte_code + 8) \
FOUR_CASES(byte_code + 12)
#define FOUR_CASES(byte_code)