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

Unified Diff: src/objects.h

Issue 1108013003: Introduce --zap-cpp-pointers (off by default) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixes Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/isolate.h ('k') | src/property-descriptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index f7acf9c0079bec587c73f9b9c9cb96c37878d1c0..61d467f219b47aebe08addf98a2ca07f03b10c4e 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -8723,6 +8723,7 @@ class Relocatable BASE_EMBEDDED {
static char* Iterate(RootVisitor* v, char* t);
private:
+ friend class HeapPointerZapper; // For |prev_|.
Isolate* isolate_;
Relocatable* prev_;
};
@@ -8735,7 +8736,7 @@ class FlatStringReader : public Relocatable {
public:
FlatStringReader(Isolate* isolate, Handle<String> str);
FlatStringReader(Isolate* isolate, Vector<const char> input);
- void PostGarbageCollection();
+ void PostGarbageCollection() override;
inline uc32 Get(int index);
template <typename Char>
inline Char Get(int index);
« no previous file with comments | « src/isolate.h ('k') | src/property-descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698