| Index: src/ia32/codegen-ia32.cc
|
| diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc
|
| index 1e8b8d351a1778eb054ef70f5508e0d36b51090e..f2ac7f7022e7a85d1aa02eae72f22d20f2aa2fb9 100644
|
| --- a/src/ia32/codegen-ia32.cc
|
| +++ b/src/ia32/codegen-ia32.cc
|
| @@ -183,16 +183,9 @@ 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.
|
| // ebp: caller's frame pointer
|
| @@ -201,6 +194,14 @@ void CodeGenerator::Generate(CompilationInfo* info) {
|
| // 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.
|
|
|