Index: src/compiler/machine-operator.cc |
diff --git a/src/compiler/machine-operator.cc b/src/compiler/machine-operator.cc |
index 0a65c7ef9c659c6c25293a36446e5b35228af183..95549c12ff08439c61367c30790307c72858a2cd 100644 |
--- a/src/compiler/machine-operator.cc |
+++ b/src/compiler/machine-operator.cc |
@@ -601,10 +601,10 @@ MachineOperatorBuilder::MachineOperatorBuilder( |
PURE_OP_LIST(PURE) |
#undef PURE |
-#define PURE(Name, properties, value_input_count, control_input_count, \ |
- output_count) \ |
- const OptionalOperator MachineOperatorBuilder::Name() { \ |
- return OptionalOperator(flags_ & k##Name ? &cache_.k##Name : nullptr); \ |
+#define PURE(Name, properties, value_input_count, control_input_count, \ |
+ output_count) \ |
+ const OptionalOperator MachineOperatorBuilder::Name() { \ |
+ return OptionalOperator(flags_ & k##Name, &cache_.k##Name); \ |
} |
PURE_OPTIONAL_OP_LIST(PURE) |
#undef PURE |
@@ -698,20 +698,6 @@ const Operator* MachineOperatorBuilder::CheckedStore( |
return nullptr; |
} |
-// On 32 bit platforms we need to get a reference to optional operators of |
-// 64-bit instructions for later Int64Lowering, even though 32 bit platforms |
-// don't support the original 64-bit instruction. |
-const Operator* MachineOperatorBuilder::Word64PopcntPlaceholder() { |
- return &cache_.kWord64Popcnt; |
-} |
- |
-// On 32 bit platforms we need to get a reference to optional operators of |
-// 64-bit instructions for later Int64Lowering, even though 32 bit platforms |
-// don't support the original 64-bit instruction. |
-const Operator* MachineOperatorBuilder::Word64CtzPlaceholder() { |
- return &cache_.kWord64Ctz; |
-} |
- |
const Operator* MachineOperatorBuilder::AtomicLoad(LoadRepresentation rep) { |
#define LOAD(Type) \ |
if (rep == MachineType::Type()) { \ |