Index: src/compiler/raw-machine-assembler.h |
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h |
index 2fd1a006d42f115ee533c536b90c6dd0dfa0121c..a74253ada042a2ecef9789e33d93d8efa0e0f9b2 100644 |
--- a/src/compiler/raw-machine-assembler.h |
+++ b/src/compiler/raw-machine-assembler.h |
@@ -409,12 +409,14 @@ class RawMachineAssembler : public GraphBuilder { |
void Deoptimize(Node* state); |
// Variables. |
- Node* Phi(Node* n1, Node* n2) { return NewNode(common()->Phi(2), n1, n2); } |
- Node* Phi(Node* n1, Node* n2, Node* n3) { |
- return NewNode(common()->Phi(3), n1, n2, n3); |
+ Node* Phi(MachineType type, Node* n1, Node* n2) { |
+ return NewNode(common()->Phi(type, 2), n1, n2); |
} |
- Node* Phi(Node* n1, Node* n2, Node* n3, Node* n4) { |
- return NewNode(common()->Phi(4), n1, n2, n3, n4); |
+ Node* Phi(MachineType type, Node* n1, Node* n2, Node* n3) { |
+ return NewNode(common()->Phi(type, 3), n1, n2, n3); |
+ } |
+ Node* Phi(MachineType type, Node* n1, Node* n2, Node* n3, Node* n4) { |
+ return NewNode(common()->Phi(type, 4), n1, n2, n3, n4); |
} |
// MachineAssembler is invalid after export. |