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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 2761933002: Add Genericity enum in VM to distinguish how a type is uninstantiated. (Closed)
Patch Set: sync Created 3 years, 9 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
« no previous file with comments | « runtime/vm/constant_propagator.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.h
diff --git a/runtime/vm/flow_graph_builder.h b/runtime/vm/flow_graph_builder.h
index 56ca9657cb71e77622ab80825e3b658923dcf3e4..5ed4617ecc5bfbe8b3bbdf2a0c06ad13bd836f4c 100644
--- a/runtime/vm/flow_graph_builder.h
+++ b/runtime/vm/flow_graph_builder.h
@@ -323,15 +323,13 @@ class EffectGraphVisitor : public AstNodeVisitor {
Value* BuildInstantiatedTypeArguments(TokenPosition token_pos,
const TypeArguments& type_arguments);
- void BuildTypecheckPushArguments(
- TokenPosition token_pos,
- PushArgumentInstr** push_instantiator_type_arguments);
- void BuildTypecheckArguments(TokenPosition token_pos,
- Value** instantiator_type_arguments);
Value* BuildInstantiator(TokenPosition token_pos);
- Value* BuildInstantiatorTypeArguments(TokenPosition token_pos,
- const Class& instantiator_class,
- Value* instantiator);
+ Value* BuildInstantiatorTypeArguments(TokenPosition token_pos);
+ Value* BuildFunctionTypeArguments(TokenPosition token_pos);
+ PushArgumentInstr* PushInstantiatorTypeArguments(const AbstractType& type,
+ TokenPosition token_pos);
+ PushArgumentInstr* PushFunctionTypeArguments(const AbstractType& type,
+ TokenPosition token_pos);
// Perform a type check on the given value.
AssertAssignableInstr* BuildAssertAssignable(TokenPosition token_pos,
« no previous file with comments | « runtime/vm/constant_propagator.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698