Home
last modified time | relevance | path

Searched refs:how_to_code (Results 1 – 10 of 10) sorted by relevance

/external/v8/src/snapshot/
Dcode-serializer.cc101 HowToCode how_to_code, in SerializeReadOnlyObject() argument
121 CHECK(SerializeBackReference(obj, how_to_code, where_to_point, skip)); in SerializeReadOnlyObject()
125 void CodeSerializer::SerializeObject(HeapObject* obj, HowToCode how_to_code, in SerializeObject() argument
127 if (SerializeHotObject(obj, how_to_code, where_to_point, skip)) return; in SerializeObject()
131 PutRoot(root_index, obj, how_to_code, where_to_point, skip); in SerializeObject()
135 if (SerializeBackReference(obj, how_to_code, where_to_point, skip)) return; in SerializeObject()
137 if (SerializeReadOnlyObject(obj, how_to_code, where_to_point, skip)) return; in SerializeObject()
150 SerializeBuiltinReference(code_object, how_to_code, where_to_point, 0); in SerializeObject()
154 SerializeCodeStub(code_object, how_to_code, where_to_point); in SerializeObject()
156 SerializeBuiltinReference(code_object, how_to_code, where_to_point, in SerializeObject()
[all …]
Dpartial-serializer.cc53 void PartialSerializer::SerializeObject(HeapObject* obj, HowToCode how_to_code, in SerializeObject() argument
57 if (SerializeBuiltinReference(obj, how_to_code, where_to_point, skip)) { in SerializeObject()
60 if (SerializeHotObject(obj, how_to_code, where_to_point, skip)) return; in SerializeObject()
64 PutRoot(root_index, obj, how_to_code, where_to_point, skip); in SerializeObject()
68 if (SerializeBackReference(obj, how_to_code, where_to_point, skip)) return; in SerializeObject()
74 sink_.Put(kPartialSnapshotCache + how_to_code + where_to_point, in SerializeObject()
115 ObjectSerializer serializer(this, obj, &sink_, how_to_code, where_to_point); in SerializeObject()
Dserializer.cc144 HowToCode how_to_code, in SerializeHotObject() argument
147 if (how_to_code != kPlain || where_to_point != kStartOfObject) return false; in SerializeHotObject()
168 HowToCode how_to_code, in SerializeBackReference() argument
183 PutAttachedReference(reference, how_to_code, where_to_point); in SerializeBackReference()
195 sink_.Put(kBackref + how_to_code + where_to_point + space, "BackRef"); in SerializeBackReference()
197 sink_.Put(kBackrefWithSkip + how_to_code + where_to_point + space, in SerializeBackReference()
208 HeapObject* obj, HowToCode how_to_code, WhereToPoint where_to_point, in SerializeBuiltinReference() argument
216 DCHECK((how_to_code == kPlain && where_to_point == kStartOfObject) || in SerializeBuiltinReference()
217 (how_to_code == kFromCode)); in SerializeBuiltinReference()
227 sink_.Put(kBuiltin + how_to_code + where_to_point, "Builtin"); in SerializeBuiltinReference()
[all …]
Dstartup-serializer.cc27 void StartupSerializer::SerializeObject(HeapObject* obj, HowToCode how_to_code, in SerializeObject() argument
32 if (SerializeBuiltinReference(obj, how_to_code, where_to_point, skip)) { in SerializeObject()
35 if (SerializeHotObject(obj, how_to_code, where_to_point, skip)) return; in SerializeObject()
42 PutRoot(root_index, obj, how_to_code, where_to_point, skip); in SerializeObject()
47 if (SerializeBackReference(obj, how_to_code, where_to_point, skip)) return; in SerializeObject()
82 ObjectSerializer object_serializer(this, obj, &sink_, how_to_code, in SerializeObject()
Dcode-serializer.h63 virtual void SerializeCodeObject(Code* code_object, HowToCode how_to_code, in SerializeCodeObject() argument
69 void SerializeGeneric(HeapObject* heap_object, HowToCode how_to_code,
73 void SerializeObject(HeapObject* o, HowToCode how_to_code,
76 void SerializeCodeStub(Code* code_stub, HowToCode how_to_code,
79 bool SerializeReadOnlyObject(HeapObject* obj, HowToCode how_to_code,
Dbuiltin-serializer.cc93 void BuiltinSerializer::SerializeObject(HeapObject* o, HowToCode how_to_code, in SerializeObject() argument
101 PutRoot(root_index, o, how_to_code, where_to_point, skip); in SerializeObject()
108 if (SerializeBuiltinReference(o, how_to_code, where_to_point, skip)) return; in SerializeObject()
124 sink_.Put(kPartialSnapshotCache + how_to_code + where_to_point, in SerializeObject()
Dserializer.h166 virtual void SerializeObject(HeapObject* o, HowToCode how_to_code,
180 HowToCode how_to_code, WhereToPoint where_to_point);
186 bool SerializeHotObject(HeapObject* obj, HowToCode how_to_code,
190 bool SerializeBackReference(HeapObject* obj, HowToCode how_to_code,
195 bool SerializeBuiltinReference(HeapObject* obj, HowToCode how_to_code,
276 SnapshotByteSink* sink, HowToCode how_to_code, in ObjectSerializer() argument
281 reference_representation_(how_to_code + where_to_point), in ObjectSerializer()
Dpartial-serializer.h29 void SerializeObject(HeapObject* o, HowToCode how_to_code,
Dbuiltin-serializer.h36 void SerializeObject(HeapObject* o, HowToCode how_to_code,
Dstartup-serializer.h65 void SerializeObject(HeapObject* o, HowToCode how_to_code,