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

Unified Diff: src/assembler.h

Issue 10534006: Remove TLS access for current Zone. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 6 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
Index: src/assembler.h
diff --git a/src/assembler.h b/src/assembler.h
index 05fe320ad013f929c2a723dc9bd0ea2b35c62ade..bd382171e58860949a2c6aecc5a9bcfc1d7d51e4 100644
--- a/src/assembler.h
+++ b/src/assembler.h
@@ -57,7 +57,7 @@ const unsigned kNoASTId = -1;
class AssemblerBase: public Malloced {
public:
- explicit AssemblerBase(Isolate* isolate);
+ AssemblerBase(Isolate* isolate, Zone* zone);
Isolate* isolate() const { return isolate_; }
int jit_cookie() { return jit_cookie_; }
@@ -66,9 +66,12 @@ class AssemblerBase: public Malloced {
// cross-snapshotting.
static void QuietNaN(HeapObject* nan) { }
+ Zone* zone() { return zone_; }
+
private:
Isolate* isolate_;
int jit_cookie_;
+ Zone* zone_;
};
« no previous file with comments | « src/arm/regexp-macro-assembler-arm.cc ('k') | src/assembler.cc » ('j') | src/ast.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698