| 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 e512de89b2b9f2c0a556ea841c939606cb3f5d14..73e6e59695fb7b02c73b26cadfdb063470d0999a 100644
|
| --- a/test/cctest/compiler/test-js-typed-lowering.cc
|
| +++ b/test/cctest/compiler/test-js-typed-lowering.cc
|
| @@ -63,15 +63,12 @@ class JSTypedLoweringTester : public HandleAndZoneScope {
|
| }
|
|
|
| Node* UndefinedConstant() {
|
| - Unique<HeapObject> unique = Unique<HeapObject>::CreateImmovable(
|
| - isolate->factory()->undefined_value());
|
| - return graph.NewNode(common.HeapConstant(unique));
|
| + Handle<HeapObject> value = isolate->factory()->undefined_value();
|
| + return graph.NewNode(common.HeapConstant(value));
|
| }
|
|
|
| Node* HeapConstant(Handle<HeapObject> constant) {
|
| - Unique<HeapObject> unique =
|
| - Unique<HeapObject>::CreateUninitialized(constant);
|
| - return graph.NewNode(common.HeapConstant(unique));
|
| + return graph.NewNode(common.HeapConstant(constant));
|
| }
|
|
|
| Node* EmptyFrameState(Node* context) {
|
|
|