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

Unified Diff: runtime/vm/flow_graph_compiler.h

Issue 2376893003: Emit switchable instance calls when we don't know the complete set of receiver classes for a call s… (Closed)
Patch Set: Created 4 years, 3 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/flow_graph_compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler.h
diff --git a/runtime/vm/flow_graph_compiler.h b/runtime/vm/flow_graph_compiler.h
index 31a627a7d3e1d962e77399b8abf946b09eeb64aa..af692495f850440dd9b4dcb8c207cf42996604be 100644
--- a/runtime/vm/flow_graph_compiler.h
+++ b/runtime/vm/flow_graph_compiler.h
@@ -213,37 +213,6 @@ class SlowPathCode : public ZoneAllocated {
};
-class MegamorphicSlowPath : public SlowPathCode {
- public:
- MegamorphicSlowPath(const ICData& ic_data,
- intptr_t argument_count,
- intptr_t deopt_id,
- TokenPosition token_pos,
- LocationSummary* locs,
- intptr_t try_index)
- : SlowPathCode(),
- ic_data_(ic_data),
- argument_count_(argument_count),
- deopt_id_(deopt_id),
- token_pos_(token_pos),
- locs_(locs),
- try_index_(try_index) {}
- virtual ~MegamorphicSlowPath() {}
-
- private:
- virtual void EmitNativeCode(FlowGraphCompiler* comp);
-
- const ICData& ic_data_;
- intptr_t argument_count_;
- intptr_t deopt_id_;
- TokenPosition token_pos_;
- LocationSummary* locs_;
- const intptr_t try_index_; // For try/catch ranges.
-
- DISALLOW_COPY_AND_ASSIGN(MegamorphicSlowPath);
-};
-
-
struct CidTarget {
intptr_t cid;
Function* target;
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698