Index: src/compiler/js-operator.h |
diff --git a/src/compiler/js-operator.h b/src/compiler/js-operator.h |
index 909d7f27cae43df3971d0caf7542f33cc26c2e21..1d658aa6447ad123c0b9a9df22a44895178ba598 100644 |
--- a/src/compiler/js-operator.h |
+++ b/src/compiler/js-operator.h |
@@ -32,6 +32,13 @@ class CallFunctionParameters FINAL { |
const CallFunctionFlags flags_; |
}; |
+bool operator==(CallFunctionParameters const&, CallFunctionParameters const&); |
+bool operator!=(CallFunctionParameters const&, CallFunctionParameters const&); |
+ |
+size_t hash_value(CallFunctionParameters const&); |
+ |
+std::ostream& operator<<(std::ostream&, CallFunctionParameters const&); |
+ |
const CallFunctionParameters& CallFunctionParametersOf(const Operator* op); |
@@ -50,6 +57,13 @@ class CallRuntimeParameters FINAL { |
const size_t arity_; |
}; |
+bool operator==(CallRuntimeParameters const&, CallRuntimeParameters const&); |
+bool operator!=(CallRuntimeParameters const&, CallRuntimeParameters const&); |
+ |
+size_t hash_value(CallRuntimeParameters const&); |
+ |
+std::ostream& operator<<(std::ostream&, CallRuntimeParameters const&); |
+ |
const CallRuntimeParameters& CallRuntimeParametersOf(const Operator* op); |
@@ -72,10 +86,14 @@ class ContextAccess FINAL { |
const uint32_t index_; |
}; |
-bool operator==(const ContextAccess& lhs, const ContextAccess& rhs); |
-bool operator!=(const ContextAccess& lhs, const ContextAccess& rhs); |
+bool operator==(ContextAccess const&, ContextAccess const&); |
+bool operator!=(ContextAccess const&, ContextAccess const&); |
+ |
+size_t hash_value(ContextAccess const&); |
-const ContextAccess& ContextAccessOf(const Operator* op); |
+std::ostream& operator<<(std::ostream&, ContextAccess const&); |
+ |
+ContextAccess const& ContextAccessOf(Operator const*); |
// Defines the property being loaded from an object by a named load. This is |
@@ -93,6 +111,13 @@ class LoadNamedParameters FINAL { |
const ContextualMode contextual_mode_; |
}; |
+bool operator==(LoadNamedParameters const&, LoadNamedParameters const&); |
+bool operator!=(LoadNamedParameters const&, LoadNamedParameters const&); |
+ |
+size_t hash_value(LoadNamedParameters const&); |
+ |
+std::ostream& operator<<(std::ostream&, LoadNamedParameters const&); |
+ |
const LoadNamedParameters& LoadNamedParametersOf(const Operator* op); |
@@ -111,6 +136,13 @@ class StoreNamedParameters FINAL { |
const Unique<Name> name_; |
}; |
+bool operator==(StoreNamedParameters const&, StoreNamedParameters const&); |
+bool operator!=(StoreNamedParameters const&, StoreNamedParameters const&); |
+ |
+size_t hash_value(StoreNamedParameters const&); |
+ |
+std::ostream& operator<<(std::ostream&, StoreNamedParameters const&); |
+ |
const StoreNamedParameters& StoreNamedParametersOf(const Operator* op); |