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

Unified Diff: runtime/vm/kernel_to_il.h

Issue 2998803002: [kernel] Support for top-level generic functions. (Closed)
Patch Set: Fix test. 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..3a55cd7f2053df108bb89ca85593a91b2f2bd4f5 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_count = 0);
regis 2017/08/10 23:16:56 ditto
sjindel 2017/08/11 09:21:06 Done.
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();
jensj 2017/08/11 06:24:55 I don't think this method is actually used.
sjindel 2017/08/11 09:21:06 It's not -- I just found it useful for debugging,
Fragment Drop();
bool IsInlining() { return exit_collector_ != NULL; }

Powered by Google App Engine
This is Rietveld 408576698