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

Unified Diff: src/codegen-ia32.cc

Issue 20257: Experimental: when doing memory-to-memory moves as part of a frame... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 11 years, 10 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 | « no previous file | src/virtual-frame-ia32.h » ('j') | src/virtual-frame-ia32.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codegen-ia32.cc
===================================================================
--- src/codegen-ia32.cc (revision 1245)
+++ src/codegen-ia32.cc (working copy)
@@ -190,6 +190,8 @@
// Get outer context and create a new context based on it.
frame_->PushFunction();
Result context = frame_->CallRuntime(Runtime::kNewContext, 1);
+ // Update context local.
+ frame_->SaveContextRegister();
if (kDebug) {
JumpTarget verified_true(this);
@@ -201,8 +203,6 @@
__ int3();
verified_true.Bind();
}
- // Update context local.
- frame_->SaveContextRegister();
}
// TODO(1241774): Improve this code:
@@ -1772,6 +1772,9 @@
context = frame_->CallRuntime(Runtime::kPushContext, 1);
}
+ // Update context local.
+ frame_->SaveContextRegister();
+
if (kDebug) {
JumpTarget verified_true(this);
// Verify that the result of the runtime call and the esi register are
@@ -1783,9 +1786,6 @@
__ int3();
verified_true.Bind();
}
-
- // Update context local.
- frame_->SaveContextRegister();
}
« no previous file with comments | « no previous file | src/virtual-frame-ia32.h » ('j') | src/virtual-frame-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698