| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index e0b1e7a0bd94d1ec3af39fca696478ee321147b6..b2ce4ee6355372724458c7ea71fb0bab61d03c06 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);
|
| }
|
|
|