Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index 0482ee8d947b30a112d18a5453082b2d891c1487..6167724dcc28a646cfaf43b0cef2ad1e085f14d0 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -531,6 +531,7 @@ class FullCodeGenerator: public AstVisitor { |
Handle<Script> script() { return info_->script(); } |
bool is_eval() { return info_->is_eval(); } |
+ bool is_strict() { return function()->strict_mode(); } |
FunctionLiteral* function() { return info_->function(); } |
Scope* scope() { return info_->scope(); } |