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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 1709273003: Make function lookup in classes thread-safe: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: d Created 4 years, 10 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 | « no previous file | runtime/vm/hash_table.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc
index 85c18ab0355e8ec4017aedc933d4b7908254d539..70621d3197e91adade5aa9302a608c83e3a7f4c8 100644
--- a/runtime/vm/flow_graph_optimizer.cc
+++ b/runtime/vm/flow_graph_optimizer.cc
@@ -196,7 +196,8 @@ bool FlowGraphOptimizer::TryCreateICData(InstanceCallInstr* call) {
Resolver::ResolveDynamicForReceiverClass(
receiver_class,
call->function_name(),
- args_desc));
+ args_desc,
+ false /* allow add */));
if (function.IsNull()) {
return false;
}
@@ -255,7 +256,8 @@ bool FlowGraphOptimizer::TryCreateICData(InstanceCallInstr* call) {
const Function& function = Function::Handle(Z,
Resolver::ResolveDynamicForReceiverClass(owner_class,
call->function_name(),
- args_desc));
+ args_desc,
+ false /* allow_add */));
if (!function.IsNull()) {
const ICData& ic_data = ICData::ZoneHandle(Z,
ICData::NewFrom(*call->ic_data(), class_ids.length()));
« no previous file with comments | « no previous file | runtime/vm/hash_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698