Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 448949967ba3bc997ec6c6ce79828b858df5408a..a0121409facf87390c8a3067239c65c2cf2cd069 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -1137,7 +1137,7 @@ void FullCodeGenerator::EmitLoadGlobalCheckExtensions(Variable* var, |
Scope* s = scope(); |
while (s != NULL) { |
if (s->num_heap_slots() > 0) { |
- if (s->calls_eval()) { |
+ if (s->calls_non_strict_eval()) { |
// Check that extension is NULL. |
__ lw(temp, ContextOperand(current, Context::EXTENSION_INDEX)); |
__ Branch(slow, ne, temp, Operand(zero_reg)); |
@@ -1191,7 +1191,7 @@ MemOperand FullCodeGenerator::ContextSlotOperandCheckExtensions(Variable* var, |
for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) { |
if (s->num_heap_slots() > 0) { |
- if (s->calls_eval()) { |
+ if (s->calls_non_strict_eval()) { |
// Check that extension is NULL. |
__ lw(temp, ContextOperand(context, Context::EXTENSION_INDEX)); |
__ Branch(slow, ne, temp, Operand(zero_reg)); |