Index: src/x64/lithium-codegen-x64.h |
diff --git a/src/x64/lithium-codegen-x64.h b/src/x64/lithium-codegen-x64.h |
index 0f1a9cdb7096546b3c83e0d5461a1a7526c318bb..a67e705b4fd91d6ab697292375726759604c73ae 100644 |
--- a/src/x64/lithium-codegen-x64.h |
+++ b/src/x64/lithium-codegen-x64.h |
@@ -131,7 +131,7 @@ class LCodeGen: public LCodeGenBase { |
private: |
StrictModeFlag strict_mode_flag() const { |
- return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; |
+ return info()->is_sloppy_mode() ? kSloppyMode : kStrictMode; |
} |
LPlatformChunk* chunk() const { return chunk_; } |