OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_GRAPH_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_GRAPH_ASSEMBLER_H_ |
6 #define V8_COMPILER_GRAPH_ASSEMBLER_H_ | 6 #define V8_COMPILER_GRAPH_ASSEMBLER_H_ |
7 | 7 |
8 #include "src/compiler/js-graph.h" | 8 #include "src/compiler/js-graph.h" |
9 #include "src/compiler/node.h" | 9 #include "src/compiler/node.h" |
10 #include "src/compiler/simplified-operator.h" | 10 #include "src/compiler/simplified-operator.h" |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 Node* value); | 268 Node* value); |
269 | 269 |
270 Node* Store(StoreRepresentation rep, Node* object, Node* offset, Node* value); | 270 Node* Store(StoreRepresentation rep, Node* object, Node* offset, Node* value); |
271 Node* Load(MachineType rep, Node* object, Node* offset); | 271 Node* Load(MachineType rep, Node* object, Node* offset); |
272 | 272 |
273 Node* Retain(Node* buffer); | 273 Node* Retain(Node* buffer); |
274 Node* UnsafePointerAdd(Node* base, Node* external); | 274 Node* UnsafePointerAdd(Node* base, Node* external); |
275 | 275 |
276 Node* DeoptimizeIf(DeoptimizeReason reason, Node* condition, | 276 Node* DeoptimizeIf(DeoptimizeReason reason, Node* condition, |
277 Node* frame_state); | 277 Node* frame_state); |
278 Node* DeoptimizeUnless(DeoptimizeKind kind, DeoptimizeReason reason, | |
279 Node* condition, Node* frame_state); | |
280 Node* DeoptimizeUnless(DeoptimizeReason reason, Node* condition, | 278 Node* DeoptimizeUnless(DeoptimizeReason reason, Node* condition, |
281 Node* frame_state); | 279 Node* frame_state); |
282 template <typename... Args> | 280 template <typename... Args> |
283 Node* Call(const CallDescriptor* desc, Args... args); | 281 Node* Call(const CallDescriptor* desc, Args... args); |
284 template <typename... Args> | 282 template <typename... Args> |
285 Node* Call(const Operator* op, Args... args); | 283 Node* Call(const Operator* op, Args... args); |
286 | 284 |
287 // Basic control operations. | 285 // Basic control operations. |
288 template <class LabelType> | 286 template <class LabelType> |
289 void Bind(LabelType* label); | 287 void Bind(LabelType* label); |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 DCHECK_EQ(0, op->ControlOutputCount()); | 440 DCHECK_EQ(0, op->ControlOutputCount()); |
443 current_effect_ = call; | 441 current_effect_ = call; |
444 return call; | 442 return call; |
445 } | 443 } |
446 | 444 |
447 } // namespace compiler | 445 } // namespace compiler |
448 } // namespace internal | 446 } // namespace internal |
449 } // namespace v8 | 447 } // namespace v8 |
450 | 448 |
451 #endif // V8_COMPILER_GRAPH_ASSEMBLER_H_ | 449 #endif // V8_COMPILER_GRAPH_ASSEMBLER_H_ |
OLD | NEW |