Index: src/compiler/machine-operator.cc |
diff --git a/src/compiler/machine-operator.cc b/src/compiler/machine-operator.cc |
index cf10b2f4541243d17016f0d41d891d1449e87411..f53e4ba7ababe35b4daacfa76179a84a043bb84f 100644 |
--- a/src/compiler/machine-operator.cc |
+++ b/src/compiler/machine-operator.cc |
@@ -46,6 +46,12 @@ std::ostream& operator<<(std::ostream& os, StoreRepresentation rep) { |
} |
+StoreRepresentation const& StoreRepresentationOf(Operator const* op) { |
+ DCHECK_EQ(IrOpcode::kStore, op->opcode()); |
+ return OpParameter<StoreRepresentation>(op); |
+} |
+ |
+ |
#define PURE_OP_LIST(V) \ |
V(Word32And, Operator::kAssociative | Operator::kCommutative, 2, 1) \ |
V(Word32Or, Operator::kAssociative | Operator::kCommutative, 2, 1) \ |