| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 0dcb4086c896c07de9ca67512e407231afcae272..d1df843294bbdf6149499c08d854894243458bac 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -319,7 +319,7 @@ Handle<Code> Pipeline::GenerateCode() {
|
| ZonePool::Scope zone_scope(data.zone_pool());
|
| AstGraphBuilderWithPositions graph_builder(
|
| zone_scope.zone(), info(), data.jsgraph(), data.source_positions());
|
| - graph_builder.CreateGraph();
|
| + if (!graph_builder.CreateGraph()) return Handle<Code>::null();
|
| context_node = graph_builder.GetFunctionContext();
|
| }
|
|
|
|
|