| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 7d41d9524f3e3409e12c7494091349c66f58ccaf..56882f69445febb2929c1426cf4a767bcb215ea8 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -155,7 +155,7 @@ void FullCodeGenerator::Generate(CompilationInfo* info) {
|
| __ push(edi); // Callee's JS Function.
|
|
|
| { Comment cmnt(masm_, "[ Allocate locals");
|
| - int locals_count = info->scope()->num_stack_slots();
|
| + int locals_count = info->scope()->num_stack_allocs();
|
| if (locals_count == 1) {
|
| __ push(Immediate(isolate()->factory()->undefined_value()));
|
| } else if (locals_count > 1) {
|
|
|