Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index 738a46434ba3f0360fd7faf8b25b559207f04b78..db235e4637b949a2602257f5ea85b210c55d4586 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -108,6 +108,7 @@ class LCodeGen; |
V(In) \ |
V(InstanceOf) \ |
V(InstanceOfKnownGlobal) \ |
+ V(InstanceSize) \ |
V(InstructionGap) \ |
V(Integer32ToDouble) \ |
V(Uint32ToDouble) \ |
@@ -959,6 +960,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) { |