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; |
} |