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

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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 Fragment ThrowNoSuchMethodError(); 469 Fragment ThrowNoSuchMethodError();
470 Fragment Constant(const Object& value); 470 Fragment Constant(const Object& value);
471 Fragment IntConstant(int64_t value); 471 Fragment IntConstant(int64_t value);
472 Fragment LoadStaticField(); 472 Fragment LoadStaticField();
473 Fragment StaticCall(TokenPosition position, 473 Fragment StaticCall(TokenPosition position,
474 const Function& target, 474 const Function& target,
475 intptr_t argument_count); 475 intptr_t argument_count);
476 Fragment StaticCall(TokenPosition position, 476 Fragment StaticCall(TokenPosition position,
477 const Function& target, 477 const Function& target,
478 intptr_t argument_count, 478 intptr_t argument_count,
479 const Array& argument_names); 479 const Array& argument_names,
480 intptr_t type_args_len = 0);
480 Fragment InstanceCall(TokenPosition position, 481 Fragment InstanceCall(TokenPosition position,
481 const dart::String& name, 482 const dart::String& name,
482 Token::Kind kind, 483 Token::Kind kind,
483 intptr_t argument_count, 484 intptr_t argument_count,
484 intptr_t checked_argument_count = 1); 485 intptr_t checked_argument_count = 1);
485 Fragment InstanceCall(TokenPosition position, 486 Fragment InstanceCall(TokenPosition position,
486 const dart::String& name, 487 const dart::String& name,
487 Token::Kind kind, 488 Token::Kind kind,
488 intptr_t type_args_len, 489 intptr_t type_args_len,
489 intptr_t argument_count, 490 intptr_t argument_count,
(...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after
1548 private: 1549 private:
1549 StreamingFlowGraphBuilder* builder_; 1550 StreamingFlowGraphBuilder* builder_;
1550 intptr_t next_read_; 1551 intptr_t next_read_;
1551 }; 1552 };
1552 1553
1553 } // namespace kernel 1554 } // namespace kernel
1554 } // namespace dart 1555 } // namespace dart
1555 1556
1556 #endif // !defined(DART_PRECOMPILED_RUNTIME) 1557 #endif // !defined(DART_PRECOMPILED_RUNTIME)
1557 #endif // RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_ 1558 #endif // RUNTIME_VM_KERNEL_BINARY_FLOWGRAPH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698