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

Unified Diff: runtime/vm/flow_graph.h

Issue 1841073003: VM: Fix receiver type propagation in presence of try-catch. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comments, added test Created 4 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
Index: runtime/vm/flow_graph.h
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
index d4d9d2fa8e4b4b057fa12c80ca50662390728ade..992ab519fb5762b51ab99ce67abff1f6e4b035d5 100644
--- a/runtime/vm/flow_graph.h
+++ b/runtime/vm/flow_graph.h
@@ -159,6 +159,9 @@ class FlowGraph : public ZoneAllocated {
return current_ssa_temp_index();
}
+ bool InstanceCallNeedsClassCheck(InstanceCallInstr* call,
+ RawFunction::Kind kind) const;
+
Thread* thread() const { return thread_; }
Zone* zone() const { return thread()->zone(); }
Isolate* isolate() const { return thread()->isolate(); }
@@ -352,6 +355,9 @@ class FlowGraph : public ZoneAllocated {
Value* use,
bool is_environment_use);
+ bool IsReceiver(Definition* def) const;
+ void ComputeIsReceiverRecursive(PhiInstr* phi, BitVector* processed) const;
+
Thread* thread_;
// DiscoverBlocks computes parent_ and assigned_vars_ which are then used
« no previous file with comments | « runtime/vm/aot_optimizer.cc ('k') | runtime/vm/flow_graph.cc » ('j') | runtime/vm/flow_graph.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698