Index: test/unittests/compiler/instruction-selector-unittest.cc |
diff --git a/test/unittests/compiler/instruction-selector-unittest.cc b/test/unittests/compiler/instruction-selector-unittest.cc |
index 6beb8171c92c5739ebf850f88a0a4d09af01c731..47f226b971431c59418ba3177adbb145308a950c 100644 |
--- a/test/unittests/compiler/instruction-selector-unittest.cc |
+++ b/test/unittests/compiler/instruction-selector-unittest.cc |
@@ -417,7 +417,7 @@ TARGET_TEST_F(InstructionSelectorTest, CallStubWithDeopt) { |
ZoneVector<MachineType> float64_type(1, MachineType::Float64(), zone()); |
ZoneVector<MachineType> tagged_type(1, MachineType::AnyTagged(), zone()); |
- Callable callable = CodeFactory::ToObject(isolate()); |
+ Callable callable = Builtins::CallableFor(isolate(), Builtins::kToObject); |
CallDescriptor* descriptor = Linkage::GetStubCallDescriptor( |
isolate(), zone(), callable.descriptor(), 1, |
CallDescriptor::kNeedsFrameState, Operator::kNoProperties); |
@@ -513,7 +513,7 @@ TARGET_TEST_F(InstructionSelectorTest, CallStubWithDeoptRecursiveFrameState) { |
ZoneVector<MachineType> int32x2_type(2, MachineType::Int32(), zone()); |
ZoneVector<MachineType> float64_type(1, MachineType::Float64(), zone()); |
- Callable callable = CodeFactory::ToObject(isolate()); |
+ Callable callable = Builtins::CallableFor(isolate(), Builtins::kToObject); |
CallDescriptor* descriptor = Linkage::GetStubCallDescriptor( |
isolate(), zone(), callable.descriptor(), 1, |
CallDescriptor::kNeedsFrameState, Operator::kNoProperties); |