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

Unified Diff: src/jump-target-ia32.cc

Issue 17004: Experimental: add a has_valid_frame predicate to the code generator... (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
« no previous file with comments | « src/codegen-ia32.cc ('k') | src/register-allocator-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/jump-target-ia32.cc
===================================================================
--- src/jump-target-ia32.cc (revision 1019)
+++ src/jump-target-ia32.cc (working copy)
@@ -95,7 +95,7 @@
void JumpTarget::Jump(Result* arg) {
ASSERT(cgen_ != NULL);
- ASSERT(cgen_->frame() != NULL);
+ ASSERT(cgen_->has_valid_frame());
cgen_->frame()->Push(arg);
Jump();
@@ -150,7 +150,7 @@
void JumpTarget::Branch(Condition cc, Result* arg, Hint hint) {
ASSERT(cgen_ != NULL);
- ASSERT(cgen_->frame() != NULL);
+ ASSERT(cgen_->has_valid_frame());
#ifdef DEBUG
// We want register results at the call site to stay in the same registers
@@ -245,7 +245,7 @@
Register arg_reg;
#endif
- if (cgen_->frame() != NULL) {
+ if (cgen_->has_valid_frame()) {
#ifdef DEBUG
had_entry_frame = true;
arg_type = arg->type();
« no previous file with comments | « src/codegen-ia32.cc ('k') | src/register-allocator-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698