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

Unified Diff: runtime/vm/flow_graph_builder.cc

Issue 2755723003: Make sure the signature of the call method is finalized before involving it (Closed)
Patch Set: 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/dart_api_impl.cc ('k') | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.cc
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
index 3350d7871199d3d4b83b502595f7d0addc6b9b79..1874bf72ff604608593d53084026665ff055e8b9 100644
--- a/runtime/vm/flow_graph_builder.cc
+++ b/runtime/vm/flow_graph_builder.cc
@@ -4165,8 +4165,7 @@ StaticCallInstr* EffectGraphVisitor::BuildThrowNoSuchMethodError(
Z,
Type::New(function_class, TypeArguments::Handle(Z, TypeArguments::null()),
token_pos, Heap::kOld));
- type ^= ClassFinalizer::FinalizeType(function_class, type,
- ClassFinalizer::kCanonicalize);
+ type ^= ClassFinalizer::FinalizeType(function_class, type);
Value* receiver_value = Bind(new (Z) ConstantInstr(type));
arguments->Add(PushArgument(receiver_value));
// String memberName.
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698