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

Unified Diff: src/jump-target.h

Issue 15079: Experimental: this is a substantial change to allow the virtual frame... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: '' Created 12 years 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/jump-target.h
===================================================================
--- src/jump-target.h (revision 1012)
+++ src/jump-target.h (working copy)
@@ -67,7 +67,7 @@
void set_code_generator(CodeGenerator* cgen);
// Accessors.
- CodeGenerator* code_generator() const { return code_generator_; }
+ CodeGenerator* code_generator() const { return cgen_; }
Label* label() { return &label_; }
@@ -96,10 +96,12 @@
// Emit a conditional branch to the target. If there is no current frame,
// there must be one expected at the target.
void Branch(Condition cc, Hint hint = no_hint);
+ void Branch(Condition cc, Result* arg, Hint hint = no_hint);
// Bind a jump target. There must be a current frame and no expected
// frame at the target (targets are only bound once).
void Bind();
+ void Bind(Result* arg);
// Emit a call to a jump target. There must be a current frame. The
// frame at the target is the same as the current frame except for an
@@ -115,7 +117,7 @@
private:
// The code generator gives access to the current frame.
- CodeGenerator* code_generator_;
+ CodeGenerator* cgen_;
// Used to emit code.
MacroAssembler* masm_;
« no previous file with comments | « src/codegen-ia32.cc ('k') | src/jump-target-ia32.cc » ('j') | src/register-allocator-ia32.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698