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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 513213002: Generate some intrinsics using our IR. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
Index: runtime/vm/flow_graph_builder.h
===================================================================
--- runtime/vm/flow_graph_builder.h (revision 39909)
+++ runtime/vm/flow_graph_builder.h (working copy)
@@ -145,8 +145,7 @@
FlowGraphBuilder(ParsedFunction* parsed_function,
const ZoneGrowableArray<const ICData*>& ic_data_array,
InlineExitCollector* exit_collector,
- intptr_t osr_id,
- bool is_optimizing);
+ intptr_t osr_id);
FlowGraph* BuildGraph();
@@ -201,8 +200,6 @@
bool IsInlining() const { return (exit_collector_ != NULL); }
InlineExitCollector* exit_collector() const { return exit_collector_; }
- bool is_optimizing() const { return is_optimizing_; }
-
ZoneGrowableArray<const Field*>* guarded_fields() const {
return guarded_fields_;
}
@@ -234,6 +231,7 @@
private:
friend class NestedStatement; // Explicit access to nesting_stack_.
+ friend class Intrinsifier;
intptr_t parameter_count() const {
return num_copied_params_ + num_non_copied_params_;
@@ -270,10 +268,6 @@
// for OSR.
const intptr_t osr_id_;
- // The graph is being rebuilt for the optimizing compiler.
- // Do not generate a different graph based on this flag.
- const bool is_optimizing_;
-
intptr_t jump_cnt_;
ZoneGrowableArray<JoinEntryInstr*>* await_joins_;
ZoneGrowableArray<intptr_t>* await_levels_;

Powered by Google App Engine
This is Rietveld 408576698