OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_CODE_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_ |
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ | 6 #define V8_COMPILER_CODE_ASSEMBLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 | 264 |
265 // Load raw memory location. | 265 // Load raw memory location. |
266 Node* Load(MachineType rep, Node* base); | 266 Node* Load(MachineType rep, Node* base); |
267 Node* Load(MachineType rep, Node* base, Node* offset); | 267 Node* Load(MachineType rep, Node* base, Node* offset); |
268 Node* AtomicLoad(MachineType rep, Node* base, Node* offset); | 268 Node* AtomicLoad(MachineType rep, Node* base, Node* offset); |
269 | 269 |
270 // Load a value from the root array. | 270 // Load a value from the root array. |
271 Node* LoadRoot(Heap::RootListIndex root_index); | 271 Node* LoadRoot(Heap::RootListIndex root_index); |
272 | 272 |
273 // Store value to raw memory location. | 273 // Store value to raw memory location. |
274 Node* Store(MachineRepresentation rep, Node* base, Node* value); | 274 Node* Store(Node* base, Node* value); |
275 Node* Store(MachineRepresentation rep, Node* base, Node* offset, Node* value); | 275 Node* Store(Node* base, Node* offset, Node* value); |
276 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* value); | 276 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* value); |
277 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* offset, | 277 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* offset, |
278 Node* value); | 278 Node* value); |
279 Node* AtomicStore(MachineRepresentation rep, Node* base, Node* offset, | 279 Node* AtomicStore(MachineRepresentation rep, Node* base, Node* offset, |
280 Node* value); | 280 Node* value); |
281 | 281 |
282 // Store a value to the root array. | 282 // Store a value to the root array. |
283 Node* StoreRoot(Heap::RootListIndex root_index, Node* value); | 283 Node* StoreRoot(Heap::RootListIndex root_index, Node* value); |
284 | 284 |
285 // Basic arithmetic operations. | 285 // Basic arithmetic operations. |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 ZoneSet<CodeAssembler::Variable::Impl*> variables_; | 548 ZoneSet<CodeAssembler::Variable::Impl*> variables_; |
549 | 549 |
550 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); | 550 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); |
551 }; | 551 }; |
552 | 552 |
553 } // namespace compiler | 553 } // namespace compiler |
554 } // namespace internal | 554 } // namespace internal |
555 } // namespace v8 | 555 } // namespace v8 |
556 | 556 |
557 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 557 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
OLD | NEW |