OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_COMPILER_INSTRUCTION_CODES_H_ | 5 #ifndef V8_COMPILER_INSTRUCTION_CODES_H_ |
6 #define V8_COMPILER_INSTRUCTION_CODES_H_ | 6 #define V8_COMPILER_INSTRUCTION_CODES_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #if V8_TARGET_ARCH_ARM | 10 #if V8_TARGET_ARCH_ARM |
(...skipping 25 matching lines...) Expand all Loading... |
36 namespace compiler { | 36 namespace compiler { |
37 | 37 |
38 // Modes for ArchStoreWithWriteBarrier below. | 38 // Modes for ArchStoreWithWriteBarrier below. |
39 enum class RecordWriteMode { kValueIsMap, kValueIsPointer, kValueIsAny }; | 39 enum class RecordWriteMode { kValueIsMap, kValueIsPointer, kValueIsAny }; |
40 | 40 |
41 | 41 |
42 // Target-specific opcodes that specify which assembly sequence to emit. | 42 // Target-specific opcodes that specify which assembly sequence to emit. |
43 // Most opcodes specify a single instruction. | 43 // Most opcodes specify a single instruction. |
44 #define COMMON_ARCH_OPCODE_LIST(V) \ | 44 #define COMMON_ARCH_OPCODE_LIST(V) \ |
45 V(ArchCallCodeObject) \ | 45 V(ArchCallCodeObject) \ |
| 46 V(ArchCallWasmFunction) \ |
46 V(ArchTailCallCodeObjectFromJSFunction) \ | 47 V(ArchTailCallCodeObjectFromJSFunction) \ |
47 V(ArchTailCallCodeObject) \ | 48 V(ArchTailCallCodeObject) \ |
48 V(ArchCallJSFunction) \ | 49 V(ArchCallJSFunction) \ |
49 V(ArchTailCallJSFunctionFromJSFunction) \ | 50 V(ArchTailCallJSFunctionFromJSFunction) \ |
50 V(ArchTailCallJSFunction) \ | 51 V(ArchTailCallJSFunction) \ |
51 V(ArchTailCallAddress) \ | 52 V(ArchTailCallAddress) \ |
52 V(ArchPrepareCallCFunction) \ | 53 V(ArchPrepareCallCFunction) \ |
53 V(ArchCallCFunction) \ | 54 V(ArchCallCFunction) \ |
54 V(ArchPrepareTailCall) \ | 55 V(ArchPrepareTailCall) \ |
55 V(ArchJmp) \ | 56 V(ArchJmp) \ |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 typedef BitField<AddressingMode, 8, 5> AddressingModeField; | 182 typedef BitField<AddressingMode, 8, 5> AddressingModeField; |
182 typedef BitField<FlagsMode, 13, 2> FlagsModeField; | 183 typedef BitField<FlagsMode, 13, 2> FlagsModeField; |
183 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; | 184 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; |
184 typedef BitField<int, 20, 12> MiscField; | 185 typedef BitField<int, 20, 12> MiscField; |
185 | 186 |
186 } // namespace compiler | 187 } // namespace compiler |
187 } // namespace internal | 188 } // namespace internal |
188 } // namespace v8 | 189 } // namespace v8 |
189 | 190 |
190 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ | 191 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ |
OLD | NEW |