Index: src/ia32/lithium-codegen-ia32.h |
diff --git a/src/ia32/lithium-codegen-ia32.h b/src/ia32/lithium-codegen-ia32.h |
index fa5e88b033308bb991f59295d285cc1ae2a49e92..811127d2d58779bc1b5c986096578ea86dc8014f 100644 |
--- a/src/ia32/lithium-codegen-ia32.h |
+++ b/src/ia32/lithium-codegen-ia32.h |
@@ -178,7 +178,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; |
} |
Scope* scope() const { return scope_; } |