Index: test/unittests/compiler/js-type-feedback-unittest.cc |
diff --git a/test/unittests/compiler/js-type-feedback-unittest.cc b/test/unittests/compiler/js-type-feedback-unittest.cc |
index a2d51d28443c3113f1ef3364115a9980cec627ce..dece25def1367409e3cf257121aafca366fec4f8 100644 |
--- a/test/unittests/compiler/js-type-feedback-unittest.cc |
+++ b/test/unittests/compiler/js-type-feedback-unittest.cc |
@@ -81,15 +81,13 @@ class JSTypeFeedbackTest : public TypedGraphTest { |
const char* string, Node* effect, Node* control, |
JSTypeFeedbackSpecializer::DeoptimizationMode mode) { |
VectorSlotPair feedback; |
- Node* global = UndefinedConstant(); |
Node* vector = UndefinedConstant(); |
Node* context = UndefinedConstant(); |
Handle<Name> name = isolate()->factory()->InternalizeUtf8String(string); |
const Operator* op = javascript()->LoadGlobal(name, feedback); |
- Node* load = |
- graph()->NewNode(op, context, global, vector, context, |
- EmptyFrameState(), EmptyFrameState(), effect, control); |
+ Node* load = graph()->NewNode(op, vector, context, EmptyFrameState(), |
+ EmptyFrameState(), effect, control); |
Node* if_success = graph()->NewNode(common()->IfSuccess(), load); |
return graph()->NewNode(common()->Return(), load, load, if_success); |
} |