Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Side by Side Diff: runtime/vm/kernel_binary_flowgraph.h

Issue 2998803002: [kernel] Support for top-level generic functions. (Closed)
Patch Set: Review comments. Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698