Index: src/compiler/js-operator.cc |
diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc |
index f6b3328a44690e0400e6ba1a68f0d365ac978130..64cb7d8580f297976447dec84a61f95c44c86c3d 100644 |
--- a/src/compiler/js-operator.cc |
+++ b/src/compiler/js-operator.cc |
@@ -40,25 +40,6 @@ size_t hash_value(VectorSlotPair const& p) { |
} |
-size_t hash_value(ConvertReceiverMode mode) { |
- return base::hash_value(static_cast<unsigned>(mode)); |
-} |
- |
- |
-std::ostream& operator<<(std::ostream& os, ConvertReceiverMode mode) { |
- switch (mode) { |
- case ConvertReceiverMode::kNullOrUndefined: |
- return os << "NULL_OR_UNDEFINED"; |
- case ConvertReceiverMode::kNotNullOrUndefined: |
- return os << "NOT_NULL_OR_UNDEFINED"; |
- case ConvertReceiverMode::kAny: |
- return os << "ANY"; |
- } |
- UNREACHABLE(); |
- return os; |
-} |
- |
- |
ConvertReceiverMode ConvertReceiverModeOf(Operator const* op) { |
DCHECK_EQ(IrOpcode::kJSConvertReceiver, op->opcode()); |
return OpParameter<ConvertReceiverMode>(op); |