| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index 79e4a5dea0b5e0a28d83fa9c2ad5d1471c66a7c6..e5290783d5a858aef51c860bb5fdc2e19d220401 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -2201,8 +2201,7 @@ class HLoadExternalArrayPointer: public HUnaryOperation {
|
| class HCheckMaps: public HTemplateInstruction<2> {
|
| public:
|
| HCheckMaps(HValue* value, Handle<Map> map, Zone* zone,
|
| - HValue* typecheck = NULL,
|
| - CompareMapMode mode = REQUIRE_EXACT_MAP) : mode_(mode) {
|
| + HValue* typecheck = NULL) {
|
| SetOperandAt(0, value);
|
| // If callers don't depend on a typecheck, they can pass in NULL. In that
|
| // case we use a copy of the |value| argument as a dummy value.
|
| @@ -2213,8 +2212,7 @@ class HCheckMaps: public HTemplateInstruction<2> {
|
| SetGVNFlag(kDependsOnElementsKind);
|
| map_set()->Add(map, zone);
|
| }
|
| - HCheckMaps(HValue* value, SmallMapList* maps, Zone* zone,
|
| - CompareMapMode mode = REQUIRE_EXACT_MAP) : mode_(mode) {
|
| + HCheckMaps(HValue* value, SmallMapList* maps, Zone* zone) {
|
| SetOperandAt(0, value);
|
| SetOperandAt(1, value);
|
| set_representation(Representation::Tagged());
|
| @@ -2259,7 +2257,6 @@ class HCheckMaps: public HTemplateInstruction<2> {
|
|
|
| HValue* value() { return OperandAt(0); }
|
| SmallMapList* map_set() { return &map_set_; }
|
| - CompareMapMode mode() { return mode_; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(CheckMaps)
|
|
|
| @@ -2276,7 +2273,6 @@ class HCheckMaps: public HTemplateInstruction<2> {
|
|
|
| private:
|
| SmallMapList map_set_;
|
| - CompareMapMode mode_;
|
| };
|
|
|
|
|
|
|