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

Unified Diff: runtime/vm/precompiler.cc

Issue 2818273002: Remove parent_level field of function type parameters. (Closed)
Patch Set: address comments Created 3 years, 8 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/parser.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/precompiler.cc
diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc
index 5a0f88eadc96990026eda32056d4ae4cb8d58c0b..f7b46ed0a6d64fc531b86d3f467ea78c10f60023 100644
--- a/runtime/vm/precompiler.cc
+++ b/runtime/vm/precompiler.cc
@@ -1108,8 +1108,10 @@ void Precompiler::AddConstObject(const Instance& instance) {
Function::Handle(Z, Closure::Cast(instance).function());
ASSERT(func.is_static());
AddFunction(func);
- AddTypeArguments(
- TypeArguments::Handle(Z, Closure::Cast(instance).instantiator()));
+ AddTypeArguments(TypeArguments::Handle(
+ Z, Closure::Cast(instance).instantiator_type_arguments()));
+ AddTypeArguments(TypeArguments::Handle(
+ Z, Closure::Cast(instance).function_type_arguments()));
return;
}
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698