Index: src/ia32/lithium-codegen-ia32.h |
diff --git a/src/ia32/lithium-codegen-ia32.h b/src/ia32/lithium-codegen-ia32.h |
index 3ac3a41628ea04a1703cf9ab6ab3fd0315748139..977fbcda7cbac59ce8648bd0c386909d77e670c3 100644 |
--- a/src/ia32/lithium-codegen-ia32.h |
+++ b/src/ia32/lithium-codegen-ia32.h |
@@ -120,6 +120,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(); } |