Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index b9d53be94e210e6b5faabf1d2918d8324ef67cc2..4e6c32e1ef0e6cb0364b8dc793ffc6f13f8e1ca3 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -2110,8 +2110,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
function_state()->ClearInlinedTestContext(); |
} |
StrictModeFlag function_strict_mode_flag() { |
- return function_state()->compilation_info()->is_classic_mode() |
- ? kNonStrictMode : kStrictMode; |
+ return function_state()->compilation_info()->is_sloppy_mode() |
+ ? kSloppyMode : kStrictMode; |
} |
// Generators for inline runtime functions. |