| Index: test/cctest/compiler/test-js-context-specialization.cc
|
| diff --git a/test/cctest/compiler/test-js-context-specialization.cc b/test/cctest/compiler/test-js-context-specialization.cc
|
| index 740d9f3d497350c78e14bf83388b4a85df7d41a7..9816b1dc2d54b8bb7e142fd4ebb768026bef0d4a 100644
|
| --- a/test/cctest/compiler/test-js-context-specialization.cc
|
| +++ b/test/cctest/compiler/test-js-context-specialization.cc
|
| @@ -6,7 +6,6 @@
|
| #include "src/compiler/js-operator.h"
|
| #include "src/compiler/node-matchers.h"
|
| #include "src/compiler/node-properties-inl.h"
|
| -#include "src/compiler/simplified-node-factory.h"
|
| #include "src/compiler/source-position.h"
|
| #include "src/compiler/typer.h"
|
| #include "test/cctest/cctest.h"
|
| @@ -16,10 +15,8 @@
|
| using namespace v8::internal;
|
| using namespace v8::internal::compiler;
|
|
|
| -class ContextSpecializationTester
|
| - : public HandleAndZoneScope,
|
| - public DirectGraphBuilder,
|
| - public SimplifiedNodeFactory<ContextSpecializationTester> {
|
| +class ContextSpecializationTester : public HandleAndZoneScope,
|
| + public DirectGraphBuilder {
|
| public:
|
| ContextSpecializationTester()
|
| : DirectGraphBuilder(new (main_zone()) Graph(main_zone())),
|
| @@ -216,11 +213,12 @@ TEST(SpecializeToContext) {
|
| const_context, const_context, effect_in);
|
|
|
|
|
| - Node* value_use = t.ChangeTaggedToInt32(load);
|
| + Node* value_use = t.NewNode(t.simplified()->ChangeTaggedToInt32(), load);
|
| Node* other_load = t.NewNode(t.javascript()->LoadContext(0, slot, true),
|
| param_context, param_context, load);
|
| Node* effect_use = other_load;
|
| - Node* other_use = t.ChangeTaggedToInt32(other_load);
|
| + Node* other_use =
|
| + t.NewNode(t.simplified()->ChangeTaggedToInt32(), other_load);
|
|
|
| Node* add = t.NewNode(t.javascript()->Add(), value_use, other_use,
|
| param_context, other_load, start);
|
|
|