| Index: test/unittests/compiler/change-lowering-unittest.cc
|
| diff --git a/test/unittests/compiler/change-lowering-unittest.cc b/test/unittests/compiler/change-lowering-unittest.cc
|
| index 5f14b8efc77316e0807528bb96f1f417ab68a952..a6a0db7ec43e1d8fc748f1a627a55fe9f8c0e93c 100644
|
| --- a/test/unittests/compiler/change-lowering-unittest.cc
|
| +++ b/test/unittests/compiler/change-lowering-unittest.cc
|
| @@ -79,13 +79,9 @@ class ChangeLoweringTest : public GraphTest {
|
|
|
| Matcher<Node*> IsAllocateHeapNumber(const Matcher<Node*>& effect_matcher,
|
| const Matcher<Node*>& control_matcher) {
|
| - return IsCall(
|
| - _, IsHeapConstant(Unique<HeapObject>::CreateImmovable(
|
| - CEntryStub(isolate(), 1).GetCode())),
|
| - IsExternalConstant(ExternalReference(
|
| - Runtime::FunctionForId(Runtime::kAllocateHeapNumber), isolate())),
|
| - IsInt32Constant(0), IsNumberConstant(0.0), effect_matcher,
|
| - control_matcher);
|
| + return IsCall(_, IsHeapConstant(Unique<HeapObject>::CreateImmovable(
|
| + AllocateHeapNumberStub(isolate()).GetCode())),
|
| + IsNumberConstant(0.0), effect_matcher, control_matcher);
|
| }
|
| Matcher<Node*> IsLoadHeapNumber(const Matcher<Node*>& value_matcher,
|
| const Matcher<Node*>& control_matcher) {
|
|
|