| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index b3c40b3e2e25d7ca7bcd4ff9dcb63508f37078cf..5a87e328ace2b419caf9a6d131eaad61600bb1e2 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -1194,7 +1194,6 @@ void AstGraphBuilder::VisitTryCatchStatement(TryCatchStatement* stmt) {
|
|
|
| // Create a catch scope that binds the exception.
|
| Node* exception = try_control.GetExceptionNode();
|
| - if (exception == NULL) exception = jsgraph()->NullConstant();
|
| Unique<String> name = MakeUnique(stmt->variable()->name());
|
| const Operator* op = javascript()->CreateCatchContext(name);
|
| Node* context = NewNode(op, exception, GetFunctionClosure());
|
|
|