Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index 45d763f42e199ed79edca76f117c266169f6cff7..9e6ef3b524067cd68e31fd7e26e1c6bc4c32e480 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -182,15 +182,7 @@ void CodeGenerator::Generate(CompilationInfo* info) { |
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 @@ void CodeGenerator::Generate(CompilationInfo* info) { |
// 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. |