| Index: src/full-codegen.h
|
| diff --git a/src/full-codegen.h b/src/full-codegen.h
|
| index fd53ceaf613aaeed26e39e39a7bd1b6812a4906f..73a6c412ee9021cafc56e48af6fe6e0db28654b9 100644
|
| --- a/src/full-codegen.h
|
| +++ b/src/full-codegen.h
|
| @@ -882,6 +882,22 @@ class FullCodeGenerator: public AstVisitor {
|
| virtual bool IsEffect() const { return true; }
|
| };
|
|
|
| + class EnterBlockScopeIfNeeded {
|
| + public:
|
| + EnterBlockScopeIfNeeded(FullCodeGenerator* codegen, Scope* scope,
|
| + BailoutId entry_id, BailoutId declarations_id,
|
| + BailoutId exit_id);
|
| + ~EnterBlockScopeIfNeeded();
|
| +
|
| + private:
|
| + MacroAssembler* masm() const { return codegen_->masm(); }
|
| +
|
| + FullCodeGenerator* codegen_;
|
| + Scope* scope_;
|
| + Scope* saved_scope_;
|
| + BailoutId exit_id_;
|
| + };
|
| +
|
| MacroAssembler* masm_;
|
| CompilationInfo* info_;
|
| Scope* scope_;
|
|
|