構成 | ネームスペース | マクロ定義 | 列挙型 | 関数 | 変数

src/serialize.cc

#include "v8.h"
#include "accessors.h"
#include "api.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 "stub-cache.h"
#include "v8threads.h"

ソースコードを見る。

構成

class  v8::internal::RelativeAddress
class  v8::internal::SimulatedHeapSpace
class  v8::internal::ExternalReferenceTable
struct  v8::internal::ExternalReferenceTable::ExternalReferenceEntry
class  v8::internal::SnapshotWriter
class  v8::internal::ReferenceUpdater
class  v8::internal::GlobalHandlesRetriever

ネームスペース

namespace  v8
namespace  v8::internal

マクロ定義

#define DEF_ENTRY_C(name)
#define DEF_ENTRY_C(name)
#define DEF_ENTRY_A(name, kind, state)   DEF_ENTRY_C(name)
#define RUNTIME_ENTRY(name, nargs)
#define IC_ENTRY(name)
#define COUNTER_ENTRY(name, caption)
#define ACCESSOR_DESCRIPTOR_DECLARATION(name)

列挙型

enum  v8::internal::GCTreatment { v8::internal::DataObject, v8::internal::PointerObject, v8::internal::CodeObject }

関数

static AllocationSpace v8::internal::GetSpace (Address addr)
static bool v8::internal::IsLargeExecutableObject (Address addr)
static bool v8::internal::IsLargeFixedArray (Address addr)
static int v8::internal::PageIndex (Address addr)
static int v8::internal::PageOffset (Address addr)
static int v8::internal::NewSpaceOffset (Address addr)
static int v8::internal::LargeObjectIndex (Address addr)
static uint32_t v8::internal::EncodeExternal (TypeCode type, uint16_t id)
static int * v8::internal::GetInternalPointer (StatsCounter *counter)
static uint32_t v8::internal::HeapObjectHash (HeapObject *key)
static bool v8::internal::MatchHeapObject (void *key1, void *key2)
static int v8::internal::IndexOf (const List< Object ** > &list, Object **element)
static void v8::internal::InitPagedSpace (PagedSpace *space, int capacity, List< Page * > *page_list)
static Object * v8::internal::ResolvePaged (int page_index, int page_offset, PagedSpace *space, List< Page * > *page_list)
template<typename T >
void v8::internal::ConcatReversed (List< T > *target, const List< T > &source)

変数

const int v8::internal::kSpaceShift = kHeapObjectTagSize
const int v8::internal::kSpaceBits = kSpaceTagSize
const int v8::internal::kSpaceMask = kSpaceTagMask
const int v8::internal::kLOSpaceExecutable = LAST_SPACE + 1
const int v8::internal::kLOSpacePointer = LAST_SPACE + 2
const int v8::internal::kOffsetShift = kSpaceShift + kSpaceBits
const int v8::internal::kOffsetBits = 11
const int v8::internal::kOffsetMask = (1 << kOffsetBits) - 1
const int v8::internal::kPageBits = 32 - (kOffsetBits + kSpaceBits + kHeapObjectTagSize)
const int v8::internal::kPageShift = kOffsetShift + kOffsetBits
const int v8::internal::kPageMask = (1 << kPageBits) - 1
const int v8::internal::kPageAndOffsetShift = kOffsetShift
const int v8::internal::kPageAndOffsetBits = kPageBits + kOffsetBits
const int v8::internal::kPageAndOffsetMask = (1 << kPageAndOffsetBits) - 1
static const int v8::internal::kInitArraySize = 32

マクロ定義

#define ACCESSOR_DESCRIPTOR_DECLARATION (   name  ) 
値:
Add((Address)&Accessors::name, \
      ACCESSOR, \
      Accessors::k##name, \
      "Accessors::" #name);
#define COUNTER_ENTRY (   name,
  caption 
)
値:
Add(reinterpret_cast<Address>(GetInternalPointer(&Counters::name)), \
      STATS_COUNTER, \
      Counters::k_##name, \
      "Counters::" #name);

参照元 v8::internal::ExternalReferenceTable::ExternalReferenceTable().

#define DEF_ENTRY_A (   name,
  kind,
  state 
)    DEF_ENTRY_C(name)
#define DEF_ENTRY_C (   name  ) 
値:
Add(Builtins::builtin_address(Builtins::name), \
      BUILTIN, \
      Builtins::name, \
      "Builtins::" #name);
#define DEF_ENTRY_C (   name  ) 
値:
Add(Builtins::c_function_address(Builtins::c_##name), \
      C_BUILTIN, \
      Builtins::c_##name, \
      "Builtins::" #name);

参照元 v8::internal::ExternalReferenceTable::ExternalReferenceTable().

#define IC_ENTRY (   name  ) 
値:
Add(IC::AddressFromUtilityId(IC::k##name), \
      IC_UTILITY, \
      IC::k##name, \
      "IC::" #name);

参照元 v8::internal::ExternalReferenceTable::ExternalReferenceTable().

#define RUNTIME_ENTRY (   name,
  nargs 
)
値:
Add(Runtime::FunctionForId(Runtime::k##name)->entry, \
      RUNTIME_FUNCTION, \
      Runtime::k##name, \
      "Runtime::" #name);
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義