Index: src/compiler/bytecode-graph-builder.cc |
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc |
index 71788e545bb5424631f13f2735dc4906ee117ba2..287403f1a8b4a59ad4d79588ef0d8cb3e9307d75 100644 |
--- a/src/compiler/bytecode-graph-builder.cc |
+++ b/src/compiler/bytecode-graph-builder.cc |
@@ -949,9 +949,11 @@ void BytecodeGraphBuilder::VisitCreateCatchContext() { |
Node* exception = environment()->LookupRegister(reg); |
Handle<String> name = |
Handle<String>::cast(bytecode_iterator().GetConstantForIndexOperand(1)); |
+ Handle<ScopeInfo> scope_info = Handle<ScopeInfo>::cast( |
+ bytecode_iterator().GetConstantForIndexOperand(2)); |
Node* closure = environment()->LookupAccumulator(); |
- const Operator* op = javascript()->CreateCatchContext(name); |
+ const Operator* op = javascript()->CreateCatchContext(name, scope_info); |
Node* context = NewNode(op, exception, closure); |
environment()->BindAccumulator(context); |
} |