| Index: test/cctest/compiler/test-js-typed-lowering.cc
|
| diff --git a/test/cctest/compiler/test-js-typed-lowering.cc b/test/cctest/compiler/test-js-typed-lowering.cc
|
| index 5e8ac7ac643f4511850c4ebf0ea581057fa87d1c..e3811f25f5688d9ea7fb60ab000cf9013a335d7f 100644
|
| --- a/test/cctest/compiler/test-js-typed-lowering.cc
|
| +++ b/test/cctest/compiler/test-js-typed-lowering.cc
|
| @@ -24,11 +24,11 @@ class JSTypedLoweringTester : public HandleAndZoneScope {
|
| simplified(main_zone()),
|
| common(main_zone()),
|
| graph(main_zone()),
|
| - typer(main_zone()),
|
| + typer(&graph, MaybeHandle<Context>()),
|
| context_node(NULL) {
|
| - typer.DecorateGraph(&graph);
|
| - Node* s = graph.NewNode(common.Start(num_parameters));
|
| - graph.SetStart(s);
|
| + graph.SetStart(graph.NewNode(common.Start(num_parameters)));
|
| + graph.SetEnd(graph.NewNode(common.End()));
|
| + typer.Run();
|
| }
|
|
|
| Isolate* isolate;
|
| @@ -74,7 +74,7 @@ class JSTypedLoweringTester : public HandleAndZoneScope {
|
| }
|
|
|
| Node* reduce(Node* node) {
|
| - JSGraph jsgraph(&graph, &common, &javascript, &typer, &machine);
|
| + JSGraph jsgraph(&graph, &common, &javascript, &machine);
|
| JSTypedLowering reducer(&jsgraph);
|
| Reduction reduction = reducer.Reduce(node);
|
| if (reduction.Changed()) return reduction.replacement();
|
|
|