Index: src/arm/lithium-codegen-arm.h |
diff --git a/src/arm/lithium-codegen-arm.h b/src/arm/lithium-codegen-arm.h |
index 7bc6689f76379dccbb8b9d916d4ffd4350d0279d..732db445170218e0718425beaa5bfa148a9ebcf3 100644 |
--- a/src/arm/lithium-codegen-arm.h |
+++ b/src/arm/lithium-codegen-arm.h |
@@ -129,6 +129,10 @@ class LCodeGen BASE_EMBEDDED { |
bool is_done() const { return status_ == DONE; } |
bool is_aborted() const { return status_ == ABORTED; } |
+ int strict_mode_flag() const { |
+ return info_->is_strict() ? kStrictMode : kNonStrictMode; |
+ } |
+ |
LChunk* chunk() const { return chunk_; } |
Scope* scope() const { return scope_; } |
HGraph* graph() const { return chunk_->graph(); } |