Index: src/x64/lithium-codegen-x64.h |
diff --git a/src/x64/lithium-codegen-x64.h b/src/x64/lithium-codegen-x64.h |
index f3cb667973ce58c486e85c1ff752f09f34e666a8..11b946a9c90cde3a46cb4974fe898aeeaf5d8538 100644 |
--- a/src/x64/lithium-codegen-x64.h |
+++ b/src/x64/lithium-codegen-x64.h |
@@ -127,7 +127,7 @@ class LCodeGen BASE_EMBEDDED { |
bool is_aborted() const { return status_ == ABORTED; } |
StrictModeFlag strict_mode_flag() const { |
- return info()->strict_mode_flag(); |
+ return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; |
} |
LChunk* chunk() const { return chunk_; } |