Index: src/ia32/lithium-codegen-ia32.h |
diff --git a/src/ia32/lithium-codegen-ia32.h b/src/ia32/lithium-codegen-ia32.h |
index 412e418f217ef3744072401a5aa467646e96902f..e7aa1982593aca9f53ae4d794558912b690b8dcb 100644 |
--- a/src/ia32/lithium-codegen-ia32.h |
+++ b/src/ia32/lithium-codegen-ia32.h |
@@ -132,7 +132,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; |
} |
bool dynamic_frame_alignment() const { return dynamic_frame_alignment_; } |
void set_dynamic_frame_alignment(bool value) { |