OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ | 5 #ifndef RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ |
6 #define RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ | 6 #define RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ |
7 | 7 |
8 #if !defined(DART_PRECOMPILED_RUNTIME) | 8 #if !defined(DART_PRECOMPILED_RUNTIME) |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 Fragment ThrowNoSuchMethodError(); | 475 Fragment ThrowNoSuchMethodError(); |
476 Fragment Constant(const Object& value); | 476 Fragment Constant(const Object& value); |
477 Fragment IntConstant(int64_t value); | 477 Fragment IntConstant(int64_t value); |
478 Fragment LoadStaticField(); | 478 Fragment LoadStaticField(); |
479 Fragment StaticCall(TokenPosition position, | 479 Fragment StaticCall(TokenPosition position, |
480 const Function& target, | 480 const Function& target, |
481 intptr_t argument_count); | 481 intptr_t argument_count); |
482 Fragment StaticCall(TokenPosition position, | 482 Fragment StaticCall(TokenPosition position, |
483 const Function& target, | 483 const Function& target, |
484 intptr_t argument_count, | 484 intptr_t argument_count, |
485 const Array& argument_names); | 485 const Array& argument_names, |
| 486 intptr_t type_args_len = 0); |
486 Fragment InstanceCall(TokenPosition position, | 487 Fragment InstanceCall(TokenPosition position, |
487 const dart::String& name, | 488 const dart::String& name, |
488 Token::Kind kind, | 489 Token::Kind kind, |
489 intptr_t argument_count, | 490 intptr_t argument_count, |
490 intptr_t checked_argument_count = 1); | 491 intptr_t checked_argument_count = 1); |
491 Fragment InstanceCall(TokenPosition position, | 492 Fragment InstanceCall(TokenPosition position, |
492 const dart::String& name, | 493 const dart::String& name, |
493 Token::Kind kind, | 494 Token::Kind kind, |
494 intptr_t type_args_len, | 495 intptr_t type_args_len, |
495 intptr_t argument_count, | 496 intptr_t argument_count, |
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1565 private: | 1566 private: |
1566 StreamingFlowGraphBuilder* builder_; | 1567 StreamingFlowGraphBuilder* builder_; |
1567 intptr_t next_read_; | 1568 intptr_t next_read_; |
1568 }; | 1569 }; |
1569 | 1570 |
1570 } // namespace kernel | 1571 } // namespace kernel |
1571 } // namespace dart | 1572 } // namespace dart |
1572 | 1573 |
1573 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 1574 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
1574 #endif // RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ | 1575 #endif // RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ |
OLD | NEW |