Revision: 5595
Author: [email protected]
Date: Wed Oct 6 01:47:08 2010
Log: Fix presubmit failure.
Review URL: http://codereview.chromium.org/3605008
http://code.google.com/p/v8/source/detail?r=5595
Modified:
/branches/bleeding_edge/src/ia32/codegen-ia32.cc
/branches/bleeding_edge/src/x64/codegen-x64.cc
=======================================
--- /branches/bleeding_edge/src/ia32/codegen-ia32.cc Mon Oct 4 08:21:38
2010
+++ /branches/bleeding_edge/src/ia32/codegen-ia32.cc Wed Oct 6 01:47:08
2010
@@ -183,16 +183,9 @@
JumpTarget::set_compiling_deferred_code(false);
-#ifdef DEBUG
- if (strlen(FLAG_stop_at) > 0 &&
- info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
- frame_->SpillAll();
- __ int3();
- }
-#endif
-
- { // NOLINT
+ {
CodeGenState state(this);
+
// Entry:
// Stack: receiver, arguments, return address.
// ebp: caller's frame pointer
@@ -201,6 +194,14 @@
// esi: callee's context
allocator_->Initialize();
+#ifdef DEBUG
+ if (strlen(FLAG_stop_at) > 0 &&
+ info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
+ frame_->SpillAll();
+ __ int3();
+ }
+#endif
+
frame_->Enter();
// Allocate space for locals and initialize them.
=======================================
--- /branches/bleeding_edge/src/x64/codegen-x64.cc Mon Oct 4 08:21:38 2010
+++ /branches/bleeding_edge/src/x64/codegen-x64.cc Wed Oct 6 01:47:08 2010
@@ -182,15 +182,7 @@
JumpTarget::set_compiling_deferred_code(false);
-#ifdef DEBUG
- if (strlen(FLAG_stop_at) > 0 &&
- info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
- frame_->SpillAll();
- __ int3();
- }
-#endif
-
- { // NOLINT
+ {
CodeGenState state(this);
// Entry:
// Stack: receiver, arguments, return address.
@@ -200,6 +192,14 @@
// rsi: callee's context
allocator_->Initialize();
+#ifdef DEBUG
+ if (strlen(FLAG_stop_at) > 0 &&
+ info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
+ frame_->SpillAll();
+ __ int3();
+ }
+#endif
+
frame_->Enter();
// Allocate space for locals and initialize them.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev