Chromium Code Reviews| Index: src/full-codegen.h |
| =================================================================== |
| --- src/full-codegen.h (revision 7006) |
| +++ src/full-codegen.h (working copy) |
| @@ -533,6 +533,9 @@ |
| 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(); } |