Index: src/compiler/machine-operator.cc |
diff --git a/src/compiler/machine-operator.cc b/src/compiler/machine-operator.cc |
index fb46a989ae0139e20adb9e944c92ada9971b0bf1..9dea0373a4363eed908f5019bc4d8ad36a95d9ed 100644 |
--- a/src/compiler/machine-operator.cc |
+++ b/src/compiler/machine-operator.cc |
@@ -194,12 +194,14 @@ MachineOperatorBuilder::MachineOperatorBuilder(MachineType word) |
#define PURE(Name, properties, input_count, output_count) \ |
- const Operator* MachineOperatorBuilder::Name() { return &impl_.k##Name; } |
+ const Operator* MachineOperatorBuilder::Name() const { \ |
+ return &impl_.k##Name; \ |
+ } |
PURE_OP_LIST(PURE) |
#undef PURE |
-const Operator* MachineOperatorBuilder::Load(LoadRepresentation rep) { |
+const Operator* MachineOperatorBuilder::Load(LoadRepresentation rep) const { |
switch (rep) { |
#define LOAD(Type) \ |
case k##Type: \ |
@@ -215,7 +217,7 @@ const Operator* MachineOperatorBuilder::Load(LoadRepresentation rep) { |
} |
-const Operator* MachineOperatorBuilder::Store(StoreRepresentation rep) { |
+const Operator* MachineOperatorBuilder::Store(StoreRepresentation rep) const { |
switch (rep.machine_type()) { |
#define STORE(Type) \ |
case k##Type: \ |