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

Unified Diff: runtime/vm/kernel_to_il.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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/kernel_to_il.h
diff --git a/runtime/vm/kernel_to_il.h b/runtime/vm/kernel_to_il.h
index 7dac63910fa3afc047a95c9ed2a6fd8198e41298..1401b554ca436c79a3c296cdb85f77860aebb1eb 100644
--- a/runtime/vm/kernel_to_il.h
+++ b/runtime/vm/kernel_to_il.h
@@ -567,7 +567,8 @@ class FlowGraphBuilder {
Fragment StaticCall(TokenPosition position,
const Function& target,
intptr_t argument_count,
- const Array& argument_names);
+ const Array& argument_names,
+ intptr_t type_args_len = 0);
Fragment StoreIndexed(intptr_t class_id);
Fragment StoreInstanceFieldGuarded(const dart::Field& field,
bool is_initialization_store);
@@ -621,6 +622,7 @@ class FlowGraphBuilder {
void Push(Definition* definition);
Value* Pop();
+ intptr_t StackDepth();
Fragment Drop();
bool IsInlining() { return exit_collector_ != NULL; }

Powered by Google App Engine
This is Rietveld 408576698