Index: src/compiler/int64-lowering.h |
diff --git a/src/compiler/int64-lowering.h b/src/compiler/int64-lowering.h |
index 89deca2ab59455a47ebeaf176d183135c57d5912..7a4124794f25c9e6697af007597be794c4b63c4f 100644 |
--- a/src/compiler/int64-lowering.h |
+++ b/src/compiler/int64-lowering.h |
@@ -24,7 +24,7 @@ class Int64Lowering { |
void LowerGraph(); |
private: |
- enum class State : uint8_t { kUnvisited, kOnStack, kInputsPushed, kVisited }; |
+ enum class State : uint8_t { kUnvisited, kOnStack, kVisited }; |
struct Replacement { |
Node* low; |
@@ -48,12 +48,17 @@ class Int64Lowering { |
bool HasReplacementHigh(Node* node); |
Node* GetReplacementHigh(Node* node); |
+ struct NodeState { |
+ Node* node; |
+ int input_index; |
+ }; |
+ |
Zone* zone_; |
Graph* const graph_; |
MachineOperatorBuilder* machine_; |
CommonOperatorBuilder* common_; |
NodeMarker<State> state_; |
- ZoneStack<Node*> stack_; |
+ ZoneStack<NodeState> stack_; |
Replacement* replacements_; |
Signature<MachineRepresentation>* signature_; |
}; |