Index: src/x87/lithium-x87.h |
diff --git a/src/x87/lithium-x87.h b/src/x87/lithium-x87.h |
index 6cc89b1fba969dab33efdca9c938184262ed9e61..7a8b1e7d8098bd37156808ec107975fc6072bfb1 100644 |
--- a/src/x87/lithium-x87.h |
+++ b/src/x87/lithium-x87.h |
@@ -41,6 +41,7 @@ class LCodeGen; |
V(CallNewArray) \ |
V(CallRuntime) \ |
V(CallStub) \ |
+ V(CheckArrayBufferNotNeutered) \ |
V(CheckInstanceType) \ |
V(CheckMaps) \ |
V(CheckMapValue) \ |
@@ -2381,6 +2382,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) { |