Index: src/mips/lithium-codegen-mips.h |
diff --git a/src/mips/lithium-codegen-mips.h b/src/mips/lithium-codegen-mips.h |
index f9c013c1f5d2bb4cbf8f7cf1cd2ec60c4e0508d6..1616fc32ea7a2ed3a61870e3d92ca613d252ed89 100644 |
--- a/src/mips/lithium-codegen-mips.h |
+++ b/src/mips/lithium-codegen-mips.h |
@@ -141,7 +141,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_; } |