Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index a93e8980454ff081cdb3b48db5891185d8ffc01a..a1df469a15b5eb5341d218ca16436a8d32641039 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -108,6 +108,7 @@ class LCodeGen; |
V(In) \ |
V(InstanceOf) \ |
V(InstanceOfKnownGlobal) \ |
+ V(InstanceSize) \ |
V(InstructionGap) \ |
V(Integer32ToDouble) \ |
V(Uint32ToDouble) \ |
@@ -980,6 +981,19 @@ class LInstanceOfKnownGlobal: public LTemplateInstruction<1, 1, 1> { |
}; |
+class LInstanceSize: public LTemplateInstruction<1, 1, 0> { |
+ public: |
+ explicit LInstanceSize(LOperand* object) { |
+ inputs_[0] = object; |
+ } |
+ |
+ LOperand* object() { return inputs_[0]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(InstanceSize, "instance-size") |
+ DECLARE_HYDROGEN_ACCESSOR(InstanceSize) |
+}; |
+ |
+ |
class LBoundsCheck: public LTemplateInstruction<0, 2, 0> { |
public: |
LBoundsCheck(LOperand* index, LOperand* length) { |