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

Unified Diff: src/zone.h

Issue 868883002: Remove the dependency of Zone on Isolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation issues Created 5 years, 11 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/x64/regexp-macro-assembler-x64.cc ('k') | src/zone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/zone.h
diff --git a/src/zone.h b/src/zone.h
index 6f552b6524413c08172d25e6fd8c70ca2b27f85a..2a730f9ee078c478a912cbe584bcf2c263828af5 100644
--- a/src/zone.h
+++ b/src/zone.h
@@ -36,7 +36,7 @@ class Isolate;
class Zone {
public:
- explicit Zone(Isolate* isolate);
+ Zone();
~Zone();
// Allocate 'size' bytes of memory in the Zone; expands the Zone by
// allocating new segments of memory on demand using malloc().
@@ -65,8 +65,6 @@ class Zone {
inline unsigned allocation_size() const { return allocation_size_; }
- inline Isolate* isolate() const { return isolate_; }
-
private:
friend class Isolate;
@@ -120,7 +118,6 @@ class Zone {
Address limit_;
Segment* segment_head_;
- Isolate* isolate_;
};
« no previous file with comments | « src/x64/regexp-macro-assembler-x64.cc ('k') | src/zone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698