| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index cfeb79e81105ed2be2215e18c1dfa63809b30f78..2b066aeab6796e57747bc640443af8ced850cb88 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -952,9 +952,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);
|
| }
|
|
|