Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index f40df09fb2213233a1325f41831a99a43f30a7fd..d64d3626d54dbd5524e86e623fb2ede1f79646b1 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -41,6 +41,7 @@ class LCodeGen; |
V(CallNewArray) \ |
V(CallRuntime) \ |
V(CallStub) \ |
+ V(CheckArrayBufferNotNeutered) \ |
V(CheckInstanceType) \ |
V(CheckMaps) \ |
V(CheckMapValue) \ |
@@ -2377,6 +2378,23 @@ class LCheckValue final : public LTemplateInstruction<0, 1, 0> { |
}; |
+class LCheckArrayBufferNotNeutered final |
+ : public LTemplateInstruction<0, 1, 1> { |
+ public: |
+ explicit LCheckArrayBufferNotNeutered(LOperand* view, LOperand* scratch) { |
+ inputs_[0] = view; |
+ temps_[0] = scratch; |
+ } |
+ |
+ LOperand* view() { return inputs_[0]; } |
+ LOperand* scratch() { return temps_[0]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(CheckArrayBufferNotNeutered, |
+ "check-array-buffer-not-neutered") |
+ DECLARE_HYDROGEN_ACCESSOR(CheckArrayBufferNotNeutered) |
+}; |
+ |
+ |
class LCheckInstanceType final : public LTemplateInstruction<0, 1, 1> { |
public: |
LCheckInstanceType(LOperand* value, LOperand* temp) { |