Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Side by Side Diff: src/objects.h

Issue 2798923004: Call PersistentHandleVisitor directly instead of using ObjectVisitor. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/profiler/heap-snapshot-generator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 10205 matching lines...) Expand 10 before | Expand all | Expand 10 after
10216 10216
10217 // Visits an external reference embedded into a code object. 10217 // Visits an external reference embedded into a code object.
10218 virtual void VisitExternalReference(RelocInfo* rinfo); 10218 virtual void VisitExternalReference(RelocInfo* rinfo);
10219 10219
10220 // Visits an external reference. 10220 // Visits an external reference.
10221 virtual void VisitExternalReference(Address* p) {} 10221 virtual void VisitExternalReference(Address* p) {}
10222 10222
10223 // Visits an (encoded) internal reference. 10223 // Visits an (encoded) internal reference.
10224 virtual void VisitInternalReference(RelocInfo* rinfo) {} 10224 virtual void VisitInternalReference(RelocInfo* rinfo) {}
10225 10225
10226 // Visits a handle that has an embedder-assigned class ID.
10227 virtual void VisitEmbedderReference(Object** p, uint16_t class_id) {}
10228
10229 // Intended for serialization/deserialization checking: insert, or 10226 // Intended for serialization/deserialization checking: insert, or
10230 // check for the presence of, a tag at this position in the stream. 10227 // check for the presence of, a tag at this position in the stream.
10231 // Also used for marking up GC roots in heap snapshots. 10228 // Also used for marking up GC roots in heap snapshots.
10232 virtual void Synchronize(VisitorSynchronization::SyncTag tag) {} 10229 virtual void Synchronize(VisitorSynchronization::SyncTag tag) {}
10233 }; 10230 };
10234 10231
10235 10232
10236 // BooleanBit is a helper class for setting and getting a bit in an integer. 10233 // BooleanBit is a helper class for setting and getting a bit in an integer.
10237 class BooleanBit : public AllStatic { 10234 class BooleanBit : public AllStatic {
10238 public: 10235 public:
(...skipping 11 matching lines...) Expand all
10250 } 10247 }
10251 }; 10248 };
10252 10249
10253 10250
10254 } // NOLINT, false-positive due to second-order macros. 10251 } // NOLINT, false-positive due to second-order macros.
10255 } // NOLINT, false-positive due to second-order macros. 10252 } // NOLINT, false-positive due to second-order macros.
10256 10253
10257 #include "src/objects/object-macros-undef.h" 10254 #include "src/objects/object-macros-undef.h"
10258 10255
10259 #endif // V8_OBJECTS_H_ 10256 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/profiler/heap-snapshot-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698