v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <serialize.h>
Static Public Member Functions | |
static void | Iterate (Isolate *isolate, ObjectVisitor *visitor) |
static int | nop () |
Protected Types | |
enum | Where { kNewObject = 0, kRootArray = 0x9, kPartialSnapshotCache = 0xa, kExternalReference = 0xb, kSkip = 0xc, kNop = 0xd, kBackref = 0x10, kBackrefWithSkip = 0x18, kPointedToMask = 0x3f } |
enum | HowToCode { kPlain = 0, kFromCode = 0x40, kHowToCodeMask = 0x40 } |
enum | WithSkip { kNoSkipDistance = 0, kHasSkipDistance = 0x40, kWithSkipMask = 0x40 } |
enum | WhereToPoint { kStartOfObject = 0, kInnerPointer = 0x80, kWhereToPointMask = 0x80 } |
Static Protected Member Functions | |
static int | CodeForRepeats (int repeats) |
static int | RepeatsForCode (int byte_code) |
static int | RootArrayConstantFromByteCode (int byte_code) |
Static Protected Attributes | |
static const int | kRawData = 0x20 |
static const int | kSynchronize = 0x70 |
static const int | kNativesStringResource = 0x71 |
static const int | kRepeat = 0x72 |
static const int | kConstantRepeat = 0x73 |
static const int | kMaxRepeats = 0x7f - 0x72 |
static const int | kRootArrayConstants = 0xa0 |
static const int | kRootArrayNumberOfConstantEncodings = 0x20 |
static const int | kNumberOfSpaces = LO_SPACE |
static const int | kAnyOldSpace = -1 |
static const int | kSpaceMask = 7 |
Definition at line 209 of file serialize.h.
|
protected |
Enumerator | |
---|---|
kPlain | |
kFromCode | |
kHowToCodeMask |
Definition at line 235 of file serialize.h.
|
protected |
Enumerator | |
---|---|
kNewObject | |
kRootArray | |
kPartialSnapshotCache | |
kExternalReference | |
kSkip | |
kNop | |
kBackref | |
kBackrefWithSkip | |
kPointedToMask |
Definition at line 217 of file serialize.h.
|
protected |
Enumerator | |
---|---|
kStartOfObject | |
kInnerPointer | |
kWhereToPointMask |
Definition at line 250 of file serialize.h.
|
protected |
Enumerator | |
---|---|
kNoSkipDistance | |
kHasSkipDistance | |
kWithSkipMask |
Definition at line 243 of file serialize.h.
|
inlinestaticprotected |
Definition at line 276 of file serialize.h.
References ASSERT, and SerializerDeserializer::kMaxRepeats.
Referenced by Serializer::ObjectSerializer::VisitPointers().
|
static |
Definition at line 1350 of file serialize.cc.
References Serializer::enabled(), Smi::FromInt(), Isolate::heap(), and Isolate::PushToPartialSnapshotCache().
Referenced by Heap::IterateStrongRoots().
|
inlinestatic |
Definition at line 213 of file serialize.h.
References SerializerDeserializer::kNop.
Referenced by SnapshotByteSource::AtEOF().
|
inlinestaticprotected |
Definition at line 280 of file serialize.h.
References ASSERT, and SerializerDeserializer::kConstantRepeat.
|
inlinestaticprotected |
Definition at line 287 of file serialize.h.
|
staticprotected |
Definition at line 292 of file serialize.h.
|
staticprotected |
Definition at line 273 of file serialize.h.
Referenced by SerializerDeserializer::RepeatsForCode().
|
staticprotected |
Definition at line 275 of file serialize.h.
Referenced by SerializerDeserializer::CodeForRepeats(), and Serializer::ObjectSerializer::VisitPointers().
|
staticprotected |
Definition at line 271 of file serialize.h.
Referenced by Serializer::ObjectSerializer::VisitExternalAsciiString().
|
staticprotected |
Definition at line 291 of file serialize.h.
Referenced by Serializer::Allocate(), Serializer::CurrentAllocationAddress(), Deserializer::DeserializePartial(), and Serializer::SpaceOfObject().
|
staticprotected |
Definition at line 261 of file serialize.h.
Referenced by Serializer::VisitPointers().
|
staticprotected |
Definition at line 272 of file serialize.h.
Referenced by Serializer::ObjectSerializer::VisitPointers().
|
staticprotected |
Definition at line 284 of file serialize.h.
Referenced by Serializer::PutRoot().
|
staticprotected |
Definition at line 286 of file serialize.h.
Referenced by Serializer::PutRoot(), and Serializer::ObjectSerializer::VisitPointers().
|
staticprotected |
Definition at line 295 of file serialize.h.
|
staticprotected |
Definition at line 268 of file serialize.h.