Index: src/arm/lithium-codegen-arm.h |
diff --git a/src/arm/lithium-codegen-arm.h b/src/arm/lithium-codegen-arm.h |
index b01e4967d77a62f7baf45d7905abfe1ddfd815d3..7d32f67d5f439fa6d01571fce403552be6b64e19 100644 |
--- a/src/arm/lithium-codegen-arm.h |
+++ b/src/arm/lithium-codegen-arm.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_; } |