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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(Node* base, Node* value); | 274 Node* Store(Node* base, Node* value); |
275 Node* Store(Node* base, Node* offset, Node* value); | 275 Node* Store(Node* base, Node* offset, Node* value); |
| 276 Node* StoreWithMapWriteBarrier(Node* base, Node* offset, Node* value); |
276 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* value); | 277 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* value); |
277 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* offset, | 278 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* offset, |
278 Node* value); | 279 Node* value); |
279 Node* AtomicStore(MachineRepresentation rep, Node* base, Node* offset, | 280 Node* AtomicStore(MachineRepresentation rep, Node* base, Node* offset, |
280 Node* value); | 281 Node* value); |
281 | 282 |
282 // Store a value to the root array. | 283 // Store a value to the root array. |
283 Node* StoreRoot(Heap::RootListIndex root_index, Node* value); | 284 Node* StoreRoot(Heap::RootListIndex root_index, Node* value); |
284 | 285 |
285 // Basic arithmetic operations. | 286 // Basic arithmetic operations. |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 ZoneSet<CodeAssembler::Variable::Impl*> variables_; | 549 ZoneSet<CodeAssembler::Variable::Impl*> variables_; |
549 | 550 |
550 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); | 551 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); |
551 }; | 552 }; |
552 | 553 |
553 } // namespace compiler | 554 } // namespace compiler |
554 } // namespace internal | 555 } // namespace internal |
555 } // namespace v8 | 556 } // namespace v8 |
556 | 557 |
557 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 558 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
OLD | NEW |