Index: test/unittests/compiler/js-create-lowering-unittest.cc |
diff --git a/test/unittests/compiler/js-create-lowering-unittest.cc b/test/unittests/compiler/js-create-lowering-unittest.cc |
index 5d95d0db001a8a36cdb2917a6a913d3d2484620b..6e6245d6ba6f754718a43fae3187665733c0c326 100644 |
--- a/test/unittests/compiler/js-create-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-create-lowering-unittest.cc |
@@ -139,7 +139,7 @@ TEST_F(JSCreateLoweringTest, JSCreateClosureViaInlinedAllocation) { |
Node* const context = UndefinedConstant(); |
Node* const effect = graph()->start(); |
Node* const control = graph()->start(); |
- Handle<SharedFunctionInfo> shared(isolate()->object_function()->shared()); |
+ Handle<SharedFunctionInfo> shared(isolate()->number_function()->shared()); |
Reduction r = |
Reduce(graph()->NewNode(javascript()->CreateClosure(shared, NOT_TENURED), |
context, effect, control)); |