Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 782dd617583f688d1885cec813f40d289acd593f..25d902715056bf6205da23efa2ab1094b4294e0c 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -132,6 +132,7 @@ class LCodeGen; |
V(LoadNamedField) \ |
V(LoadNamedFieldPolymorphic) \ |
V(LoadNamedGeneric) \ |
+ V(MapEnumLength) \ |
V(MathFloorOfDiv) \ |
V(MathMinMax) \ |
V(ModI) \ |
@@ -1002,6 +1003,18 @@ class LFixedArrayBaseLength: public LTemplateInstruction<1, 1, 0> { |
}; |
+class LMapEnumLength: public LTemplateInstruction<1, 1, 0> { |
+ public: |
+ explicit LMapEnumLength(LOperand* value) { |
+ inputs_[0] = value; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, |
+ "map-enum-length") |
Jakob Kummerow
2012/08/28 12:24:44
nit: fits on one line
Toon Verwaest
2012/08/28 12:30:23
Done.
|
+ DECLARE_HYDROGEN_ACCESSOR(MapEnumLength) |
Jakob Kummerow
2012/08/28 12:24:44
I don't see why you need this (not on ia32 either)
Toon Verwaest
2012/08/28 12:30:23
Done.
|
+}; |
+ |
+ |
class LElementsKind: public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LElementsKind(LOperand* value) { |