Index: src/compiler/machine-node-factory.h |
diff --git a/src/compiler/machine-node-factory.h b/src/compiler/machine-node-factory.h |
index 984d3944f9c3df7bcf2bcce4de33e4e872a1e115..8e11815aaea43759ec7e03d5fe5e062e94170625 100644 |
--- a/src/compiler/machine-node-factory.h |
+++ b/src/compiler/machine-node-factory.h |
@@ -199,20 +199,14 @@ class MachineNodeFactory { |
Node* Int32Add(Node* a, Node* b) { |
return NEW_NODE_2(MACHINE()->Int32Add(), a, b); |
} |
- void Int32AddWithOverflow(Node* a, Node* b, Node** val_return, |
- Node** ovf_return) { |
- Node* add = NEW_NODE_2(MACHINE()->Int32AddWithOverflow(), a, b); |
- if (val_return) *val_return = Projection(0, add); |
- if (ovf_return) *ovf_return = Projection(1, add); |
+ Node* Int32AddWithOverflow(Node* a, Node* b) { |
+ return NEW_NODE_2(MACHINE()->Int32AddWithOverflow(), a, b); |
} |
Node* Int32Sub(Node* a, Node* b) { |
return NEW_NODE_2(MACHINE()->Int32Sub(), a, b); |
} |
- void Int32SubWithOverflow(Node* a, Node* b, Node** val_return, |
- Node** ovf_return) { |
- Node* add = NEW_NODE_2(MACHINE()->Int32SubWithOverflow(), a, b); |
- if (val_return) *val_return = Projection(0, add); |
- if (ovf_return) *ovf_return = Projection(1, add); |
+ Node* Int32SubWithOverflow(Node* a, Node* b) { |
+ return NEW_NODE_2(MACHINE()->Int32SubWithOverflow(), a, b); |
} |
Node* Int32Mul(Node* a, Node* b) { |
return NEW_NODE_2(MACHINE()->Int32Mul(), a, b); |