OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_ARM64_LITHIUM_ARM64_H_ | 5 #ifndef V8_ARM64_LITHIUM_ARM64_H_ |
6 #define V8_ARM64_LITHIUM_ARM64_H_ | 6 #define V8_ARM64_LITHIUM_ARM64_H_ |
7 | 7 |
8 #include "src/hydrogen.h" | 8 #include "src/hydrogen.h" |
9 #include "src/lithium.h" | 9 #include "src/lithium.h" |
10 #include "src/lithium-allocator.h" | 10 #include "src/lithium-allocator.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 V(BitS) \ | 33 V(BitS) \ |
34 V(BoundsCheck) \ | 34 V(BoundsCheck) \ |
35 V(Branch) \ | 35 V(Branch) \ |
36 V(CallFunction) \ | 36 V(CallFunction) \ |
37 V(CallJSFunction) \ | 37 V(CallJSFunction) \ |
38 V(CallNew) \ | 38 V(CallNew) \ |
39 V(CallNewArray) \ | 39 V(CallNewArray) \ |
40 V(CallRuntime) \ | 40 V(CallRuntime) \ |
41 V(CallStub) \ | 41 V(CallStub) \ |
42 V(CallWithDescriptor) \ | 42 V(CallWithDescriptor) \ |
| 43 V(CheckArrayBufferNotNeutered) \ |
43 V(CheckInstanceType) \ | 44 V(CheckInstanceType) \ |
44 V(CheckMapValue) \ | 45 V(CheckMapValue) \ |
45 V(CheckMaps) \ | 46 V(CheckMaps) \ |
46 V(CheckNonSmi) \ | 47 V(CheckNonSmi) \ |
47 V(CheckSmi) \ | 48 V(CheckSmi) \ |
48 V(CheckValue) \ | 49 V(CheckValue) \ |
49 V(ClampDToUint8) \ | 50 V(ClampDToUint8) \ |
50 V(ClampIToUint8) \ | 51 V(ClampIToUint8) \ |
51 V(ClampTToUint8) \ | 52 V(ClampTToUint8) \ |
52 V(ClassOfTestAndBranch) \ | 53 V(ClassOfTestAndBranch) \ |
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 inputs_[0] = context; | 929 inputs_[0] = context; |
929 } | 930 } |
930 | 931 |
931 LOperand* context() { return inputs_[0]; } | 932 LOperand* context() { return inputs_[0]; } |
932 | 933 |
933 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") | 934 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") |
934 DECLARE_HYDROGEN_ACCESSOR(CallStub) | 935 DECLARE_HYDROGEN_ACCESSOR(CallStub) |
935 }; | 936 }; |
936 | 937 |
937 | 938 |
| 939 class LCheckArrayBufferNotNeutered final |
| 940 : public LTemplateInstruction<0, 1, 0> { |
| 941 public: |
| 942 explicit LCheckArrayBufferNotNeutered(LOperand* view) { inputs_[0] = view; } |
| 943 |
| 944 LOperand* view() { return inputs_[0]; } |
| 945 |
| 946 DECLARE_CONCRETE_INSTRUCTION(CheckArrayBufferNotNeutered, |
| 947 "check-array-buffer-not-neutered") |
| 948 DECLARE_HYDROGEN_ACCESSOR(CheckArrayBufferNotNeutered) |
| 949 }; |
| 950 |
| 951 |
938 class LCheckInstanceType final : public LTemplateInstruction<0, 1, 1> { | 952 class LCheckInstanceType final : public LTemplateInstruction<0, 1, 1> { |
939 public: | 953 public: |
940 explicit LCheckInstanceType(LOperand* value, LOperand* temp) { | 954 explicit LCheckInstanceType(LOperand* value, LOperand* temp) { |
941 inputs_[0] = value; | 955 inputs_[0] = value; |
942 temps_[0] = temp; | 956 temps_[0] = temp; |
943 } | 957 } |
944 | 958 |
945 LOperand* value() { return inputs_[0]; } | 959 LOperand* value() { return inputs_[0]; } |
946 LOperand* temp() { return temps_[0]; } | 960 LOperand* temp() { return temps_[0]; } |
947 | 961 |
(...skipping 2263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3211 | 3225 |
3212 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3226 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
3213 }; | 3227 }; |
3214 | 3228 |
3215 #undef DECLARE_HYDROGEN_ACCESSOR | 3229 #undef DECLARE_HYDROGEN_ACCESSOR |
3216 #undef DECLARE_CONCRETE_INSTRUCTION | 3230 #undef DECLARE_CONCRETE_INSTRUCTION |
3217 | 3231 |
3218 } } // namespace v8::internal | 3232 } } // namespace v8::internal |
3219 | 3233 |
3220 #endif // V8_ARM64_LITHIUM_ARM64_H_ | 3234 #endif // V8_ARM64_LITHIUM_ARM64_H_ |
OLD | NEW |