| Index: src/compiler/simplified-operator.h
|
| diff --git a/src/compiler/simplified-operator.h b/src/compiler/simplified-operator.h
|
| index 8f1ecfc21ef7ce57cb7ce3677e6cd2de6956fe36..d59ea7f4b363d016c45f1b0d89af1acd7a2ca647 100644
|
| --- a/src/compiler/simplified-operator.h
|
| +++ b/src/compiler/simplified-operator.h
|
| @@ -12,6 +12,7 @@
|
| #include "src/handles.h"
|
| #include "src/machine-type.h"
|
| #include "src/objects.h"
|
| +#include "src/zone/zone-handle-set.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -140,6 +141,27 @@ std::ostream& operator<<(std::ostream&, CheckForMinusZeroMode);
|
|
|
| CheckForMinusZeroMode CheckMinusZeroModeOf(const Operator*) WARN_UNUSED_RESULT;
|
|
|
| +// A descriptor for map checks.
|
| +class CheckMapsParameters final {
|
| + public:
|
| + explicit CheckMapsParameters(ZoneHandleSet<Map> const& maps) : maps_(maps) {}
|
| +
|
| + ZoneHandleSet<Map> const& maps() const { return maps_; }
|
| +
|
| + private:
|
| + ZoneHandleSet<Map> const maps_;
|
| +};
|
| +
|
| +bool operator==(CheckMapsParameters const&, CheckMapsParameters const&);
|
| +bool operator!=(CheckMapsParameters const&, CheckMapsParameters const&);
|
| +
|
| +size_t hash_value(CheckMapsParameters const&);
|
| +
|
| +std::ostream& operator<<(std::ostream&, CheckMapsParameters const&);
|
| +
|
| +CheckMapsParameters const& CheckMapsParametersOf(Operator const*)
|
| + WARN_UNUSED_RESULT;
|
| +
|
| // A descriptor for growing elements backing stores.
|
| enum class GrowFastElementsFlag : uint8_t {
|
| kNone = 0u,
|
| @@ -310,7 +332,7 @@ class SimplifiedOperatorBuilder final : public ZoneObject {
|
|
|
| const Operator* CheckIf();
|
| const Operator* CheckBounds();
|
| - const Operator* CheckMaps(int map_input_count);
|
| + const Operator* CheckMaps(ZoneHandleSet<Map>);
|
|
|
| const Operator* CheckHeapObject();
|
| const Operator* CheckNumber();
|
|
|