Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index bd5df170caab963ab012259537454a0bdca329c2..d538f83b851299b587f8813f23b7c374947c8922 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -2150,7 +2150,10 @@ void FullCodeGenerator::EmitResolvePossiblyDirectEval(int arg_count) { |
FLAG_harmony_scoping ? kStrictMode : strict_mode_flag(); |
__ push(Immediate(Smi::FromInt(strict_mode))); |
- __ CallRuntime(Runtime::kResolvePossiblyDirectEval, 4); |
+ // Push the start position of the scope the calls resides in. |
+ __ push(Immediate(Smi::FromInt(scope()->start_position()))); |
+ |
+ __ CallRuntime(Runtime::kResolvePossiblyDirectEval, 5); |
} |