| Index: src/crankshaft/hydrogen-instructions.h
|
| diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h
|
| index 13ada8c606cfa7a79384bb2c7dfbb8bddfa442fa..18af113e9923057fbbd0ac662eaba442b55b2594 100644
|
| --- a/src/crankshaft/hydrogen-instructions.h
|
| +++ b/src/crankshaft/hydrogen-instructions.h
|
| @@ -117,7 +117,6 @@ class LChunkBuilder;
|
| V(LoadNamedField) \
|
| V(LoadNamedGeneric) \
|
| V(LoadRoot) \
|
| - V(MapEnumLength) \
|
| V(MathFloorOfDiv) \
|
| V(MathMinMax) \
|
| V(MaybeGrowElements) \
|
| @@ -2493,31 +2492,6 @@ class HCallRuntime final : public HCall<1> {
|
| };
|
|
|
|
|
| -class HMapEnumLength final : public HUnaryOperation {
|
| - public:
|
| - DECLARE_INSTRUCTION_FACTORY_P1(HMapEnumLength, HValue*);
|
| -
|
| - Representation RequiredInputRepresentation(int index) override {
|
| - return Representation::Tagged();
|
| - }
|
| -
|
| - DECLARE_CONCRETE_INSTRUCTION(MapEnumLength)
|
| -
|
| - protected:
|
| - bool DataEquals(HValue* other) override { return true; }
|
| -
|
| - private:
|
| - explicit HMapEnumLength(HValue* value)
|
| - : HUnaryOperation(value, HType::Smi()) {
|
| - set_representation(Representation::Smi());
|
| - SetFlag(kUseGVN);
|
| - SetDependsOnFlag(kMaps);
|
| - }
|
| -
|
| - bool IsDeletable() const override { return true; }
|
| -};
|
| -
|
| -
|
| class HUnaryMathOperation final : public HTemplateInstruction<2> {
|
| public:
|
| static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
|
| @@ -6027,6 +6001,11 @@ class HObjectAccess final {
|
| Representation::UInteger8());
|
| }
|
|
|
| + static HObjectAccess ForMapBitField3() {
|
| + return HObjectAccess(kInobject, Map::kBitField3Offset,
|
| + Representation::Integer32());
|
| + }
|
| +
|
| static HObjectAccess ForNameHashField() {
|
| return HObjectAccess(kInobject,
|
| Name::kHashFieldOffset,
|
|
|