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 763a44352f3b44c1878954ca1bae54b2ae3d051a..060b1c1842fb663a1a598923297cc5c962e29599 100644 |
--- a/test/unittests/compiler/change-lowering-unittest.cc |
+++ b/test/unittests/compiler/change-lowering-unittest.cc |
@@ -15,6 +15,7 @@ |
using testing::_; |
using testing::AllOf; |
+using testing::BitEq; |
using testing::Capture; |
using testing::CaptureEq; |
@@ -78,7 +79,8 @@ class ChangeLoweringTest : public GraphTest { |
const Matcher<Node*>& control_matcher) { |
return IsCall(_, IsHeapConstant(Unique<HeapObject>::CreateImmovable( |
AllocateHeapNumberStub(isolate()).GetCode())), |
- IsNumberConstant(0.0), effect_matcher, control_matcher); |
+ IsNumberConstant(BitEq(0.0)), effect_matcher, |
+ control_matcher); |
} |
Matcher<Node*> IsLoadHeapNumber(const Matcher<Node*>& value_matcher, |
const Matcher<Node*>& control_matcher) { |