Index: src/compiler/raw-machine-assembler.h |
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h |
index b167a73c3e2b94214a34179359ad0298d819fb90..2a5ae1f8f1e64a89b151e1b7808fd84f813eb2ca 100644 |
--- a/src/compiler/raw-machine-assembler.h |
+++ b/src/compiler/raw-machine-assembler.h |
@@ -443,7 +443,7 @@ class RawMachineAssembler { |
return AddNode(machine()->Float32Div(), a, b); |
} |
Node* Float32Abs(Node* a) { return AddNode(machine()->Float32Abs(), a); } |
- Node* Float32Neg(Node* a) { return Float32Sub(Float32Constant(-0.0f), a); } |
+ Node* Float32Neg(Node* a) { return AddNode(machine()->Float32Neg(), a); } |
Node* Float32Sqrt(Node* a) { return AddNode(machine()->Float32Sqrt(), a); } |
Node* Float32Equal(Node* a, Node* b) { |
return AddNode(machine()->Float32Equal(), a, b); |
@@ -487,7 +487,7 @@ class RawMachineAssembler { |
return AddNode(machine()->Float64Min(), a, b); |
} |
Node* Float64Abs(Node* a) { return AddNode(machine()->Float64Abs(), a); } |
- Node* Float64Neg(Node* a) { return Float64Sub(Float64Constant(-0.0), a); } |
+ Node* Float64Neg(Node* a) { return AddNode(machine()->Float64Neg(), a); } |
Node* Float64Acos(Node* a) { return AddNode(machine()->Float64Acos(), a); } |
Node* Float64Acosh(Node* a) { return AddNode(machine()->Float64Acosh(), a); } |
Node* Float64Asin(Node* a) { return AddNode(machine()->Float64Asin(), a); } |