| Index: src/full-codegen.h
|
| diff --git a/src/full-codegen.h b/src/full-codegen.h
|
| index 0482ee8d947b30a112d18a5453082b2d891c1487..2d0998d8cfd9adc21e34eef9a98821a06fce6580 100644
|
| --- a/src/full-codegen.h
|
| +++ b/src/full-codegen.h
|
| @@ -531,6 +531,9 @@ class FullCodeGenerator: public AstVisitor {
|
|
|
| Handle<Script> script() { return info_->script(); }
|
| bool is_eval() { return info_->is_eval(); }
|
| + StrictModeFlag strict_mode_flag() {
|
| + return function()->strict_mode() ? kStrictMode : kNonStrictMode;
|
| + }
|
| FunctionLiteral* function() { return info_->function(); }
|
| Scope* scope() { return info_->scope(); }
|
|
|
|
|