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

Unified Diff: src/full-codegen.h

Issue 6685088: Merge isolates to bleeding_edge. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 9 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/frames-inl.h ('k') | src/full-codegen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen.h
===================================================================
--- src/full-codegen.h (revision 7267)
+++ src/full-codegen.h (working copy)
@@ -77,7 +77,8 @@
};
explicit FullCodeGenerator(MacroAssembler* masm)
- : masm_(masm),
+ : isolate_(Isolate::Current()),
+ masm_(masm),
info_(NULL),
nesting_stack_(NULL),
loop_depth_(0),
@@ -493,6 +494,7 @@
loop_depth_--;
}
+ Isolate* isolate() { return isolate_; }
MacroAssembler* masm() { return masm_; }
class ExpressionContext;
@@ -553,6 +555,8 @@
codegen_->set_new_context(old_);
}
+ Isolate* isolate() const { return codegen_->isolate(); }
+
// Convert constant control flow (true or false) to the result expected for
// this expression context.
virtual void Plug(bool flag) const = 0;
@@ -729,6 +733,7 @@
virtual bool IsEffect() const { return true; }
};
+ Isolate* isolate_;
MacroAssembler* masm_;
CompilationInfo* info_;
Label return_label_;
« no previous file with comments | « src/frames-inl.h ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698