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); |
278 Node* DeoptimizeUnless(DeoptimizeReason reason, Node* condition, | 280 Node* DeoptimizeUnless(DeoptimizeReason reason, Node* condition, |
279 Node* frame_state); | 281 Node* frame_state); |
280 template <typename... Args> | 282 template <typename... Args> |
281 Node* Call(const CallDescriptor* desc, Args... args); | 283 Node* Call(const CallDescriptor* desc, Args... args); |
282 template <typename... Args> | 284 template <typename... Args> |
283 Node* Call(const Operator* op, Args... args); | 285 Node* Call(const Operator* op, Args... args); |
284 | 286 |
285 // Basic control operations. | 287 // Basic control operations. |
286 template <class LabelType> | 288 template <class LabelType> |
287 void Bind(LabelType* label); | 289 void Bind(LabelType* label); |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 DCHECK_EQ(0, op->ControlOutputCount()); | 442 DCHECK_EQ(0, op->ControlOutputCount()); |
441 current_effect_ = call; | 443 current_effect_ = call; |
442 return call; | 444 return call; |
443 } | 445 } |
444 | 446 |
445 } // namespace compiler | 447 } // namespace compiler |
446 } // namespace internal | 448 } // namespace internal |
447 } // namespace v8 | 449 } // namespace v8 |
448 | 450 |
449 #endif // V8_COMPILER_GRAPH_ASSEMBLER_H_ | 451 #endif // V8_COMPILER_GRAPH_ASSEMBLER_H_ |
OLD | NEW |