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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 Node* LoadStackPointer(); | 263 Node* LoadStackPointer(); |
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* index); | 267 Node* Load(MachineType rep, Node* base, Node* index); |
268 Node* AtomicLoad(MachineType rep, Node* base, Node* index); | 268 Node* AtomicLoad(MachineType rep, Node* base, Node* index); |
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 // Load first native_context in Heap::native_contexts_list() |
| 274 Node* LoadFirstNativeContext(); |
| 275 |
273 // Store value to raw memory location. | 276 // Store value to raw memory location. |
274 Node* Store(MachineRepresentation rep, Node* base, Node* value); | 277 Node* Store(MachineRepresentation rep, Node* base, Node* value); |
275 Node* Store(MachineRepresentation rep, Node* base, Node* index, Node* value); | 278 Node* Store(MachineRepresentation rep, Node* base, Node* index, Node* value); |
276 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* value); | 279 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* value); |
277 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* index, | 280 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* index, |
278 Node* value); | 281 Node* value); |
279 Node* AtomicStore(MachineRepresentation rep, Node* base, Node* index, | 282 Node* AtomicStore(MachineRepresentation rep, Node* base, Node* index, |
280 Node* value); | 283 Node* value); |
281 | 284 |
282 // Store a value to the root array. | 285 // Store a value to the root array. |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 // Map of variables to the list of value nodes that have been added from each | 524 // Map of variables to the list of value nodes that have been added from each |
522 // merge path in their order of merging. | 525 // merge path in their order of merging. |
523 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 526 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
524 }; | 527 }; |
525 | 528 |
526 } // namespace compiler | 529 } // namespace compiler |
527 } // namespace internal | 530 } // namespace internal |
528 } // namespace v8 | 531 } // namespace v8 |
529 | 532 |
530 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 533 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
OLD | NEW |