Index: runtime/vm/precompiler.cc |
diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc |
index 970c8493901482da96663d64cb7d97a24693e419..edf75f057efddc426fa4849f54a452704380cc6e 100644 |
--- a/runtime/vm/precompiler.cc |
+++ b/runtime/vm/precompiler.cc |
@@ -1108,7 +1108,8 @@ void Precompiler::AddConstObject(const Instance& instance) { |
Function::Handle(Z, Closure::Cast(instance).function()); |
ASSERT(func.is_static()); |
AddFunction(func); |
- AddTypeArguments(TypeArguments::Handle(Z, instance.GetTypeArguments())); |
+ AddTypeArguments( |
+ TypeArguments::Handle(Z, Closure::Cast(instance).instantiator())); |
return; |
} |