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

Unified Diff: src/zone.h

Issue 490173002: Take ast node id counting away from Isolate. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased Created 6 years, 4 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/scopes.cc ('k') | test/cctest/test-ast.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 a690b8d8caf1bb6ec3144908f37b4e8736c982d8..6f552b6524413c08172d25e6fd8c70ca2b27f85a 100644
--- a/src/zone.h
+++ b/src/zone.h
@@ -63,9 +63,9 @@ class Zone {
inline void adjust_segment_bytes_allocated(int delta);
- inline unsigned allocation_size() { return allocation_size_; }
+ inline unsigned allocation_size() const { return allocation_size_; }
- inline Isolate* isolate() { return isolate_; }
+ inline Isolate* isolate() const { return isolate_; }
private:
friend class Isolate;
« no previous file with comments | « src/scopes.cc ('k') | test/cctest/test-ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698