Index: src/compiler/js-intrinsic-lowering.cc |
diff --git a/src/compiler/js-intrinsic-lowering.cc b/src/compiler/js-intrinsic-lowering.cc |
index a1bfb3cfd43fe50f681bf6cac4a424c805ad90f1..80ee3fea6110d1f5b89983b70b19125656c306e9 100644 |
--- a/src/compiler/js-intrinsic-lowering.cc |
+++ b/src/compiler/js-intrinsic-lowering.cc |
@@ -173,8 +173,8 @@ Reduction JSIntrinsicLowering::ReduceIsInstanceType( |
graph()->NewNode(simplified()->LoadField(AccessBuilder::ForMap()), value, |
effect, if_false), |
effect, if_false); |
- Node* vfalse = graph()->NewNode(machine()->Word32Equal(), efalse, |
- jsgraph()->Int32Constant(instance_type)); |
+ Node* vfalse = graph()->NewNode(simplified()->NumberEqual(), efalse, |
+ jsgraph()->Constant(instance_type)); |
Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); |
@@ -386,12 +386,6 @@ JSOperatorBuilder* JSIntrinsicLowering::javascript() const { |
return jsgraph_->javascript(); |
} |
- |
-MachineOperatorBuilder* JSIntrinsicLowering::machine() const { |
- return jsgraph()->machine(); |
-} |
- |
- |
SimplifiedOperatorBuilder* JSIntrinsicLowering::simplified() const { |
return jsgraph()->simplified(); |
} |