Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 8e3c020e21f06b6a0baabeb3171f70933c280e35..353ce5b10646e2bd79319612be07a85bbc632b6c 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -2139,10 +2139,8 @@ void FullCodeGenerator::EmitResolvePossiblyDirectEval(ResolveEvalFlag flag, |
__ push(r1); |
// 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(); |
__ mov(r1, Operand(Smi::FromInt(strict_mode))); |
__ push(r1); |