Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 57da2e7d111691a2a150626c020ca1c469bb8379..0e03b8e3fdd4c428c1e480b7ac408643f19f144f 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -2136,10 +2136,8 @@ void FullCodeGenerator::EmitResolvePossiblyDirectEval(ResolveEvalFlag flag, |
__ push(a1); |
// Push the strict mode flag. In harmony mode every eval call |
// is a strict mode eval call. |
- StrictModeFlag strict_mode = strict_mode_flag(); |
- if (FLAG_harmony_block_scoping) { |
- strict_mode = kStrictMode; |
- } |
+ StrictModeFlag strict_mode = |
+ FLAG_harmony_scoping ? kStrictMode : strict_mode_flag(); |
__ li(a1, Operand(Smi::FromInt(strict_mode))); |
__ push(a1); |