Index: src/compiler/js-operator.h |
diff --git a/src/compiler/js-operator.h b/src/compiler/js-operator.h |
index cc50cc23a56df9ab224b8bc96254ec965c8e90a8..9fe91d2649ef2c3cf3b5132a64bf165411d7a33c 100644 |
--- a/src/compiler/js-operator.h |
+++ b/src/compiler/js-operator.h |
@@ -44,17 +44,17 @@ size_t hash_value(VectorSlotPair const&); |
// Defines hints about receiver values based on structural knowledge. This is |
// used as a parameter by JSConvertReceiver operators. |
-enum class ConvertReceiverMode { |
+enum class ConvertReceiverMode : int { |
kNullOrUndefined, // Guaranteed to be null or undefined. |
kNotNullOrUndefined, // Guaranteed to never be null or undefined. |
kAny // No specific knowledge about receiver. |
}; |
-size_t hash_value(ConvertReceiverMode const&); |
+size_t hash_value(ConvertReceiverMode); |
-std::ostream& operator<<(std::ostream&, ConvertReceiverMode const&); |
+std::ostream& operator<<(std::ostream&, ConvertReceiverMode); |
-const ConvertReceiverMode& ConvertReceiverModeOf(const Operator* op); |
+ConvertReceiverMode ConvertReceiverModeOf(const Operator* op); |
// Defines whether tail call optimization is allowed. |