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

Side by Side Diff: runtime/vm/flow_graph_optimizer.h

Issue 12042014: Revert "Introduce InvokeMathCFunction that can be used to directly invoke mathematical function pro… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/disassembler_x64.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_FLOW_GRAPH_OPTIMIZER_H_ 5 #ifndef VM_FLOW_GRAPH_OPTIMIZER_H_
6 #define VM_FLOW_GRAPH_OPTIMIZER_H_ 6 #define VM_FLOW_GRAPH_OPTIMIZER_H_
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 #include "vm/flow_graph.h" 9 #include "vm/flow_graph.h"
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 intptr_t length_offset, 99 intptr_t length_offset,
100 bool is_immutable, 100 bool is_immutable,
101 MethodRecognizer::Kind kind); 101 MethodRecognizer::Kind kind);
102 void InlineGrowableArrayCapacityGetter(InstanceCallInstr* call); 102 void InlineGrowableArrayCapacityGetter(InstanceCallInstr* call);
103 void InlineStringLengthGetter(InstanceCallInstr* call); 103 void InlineStringLengthGetter(InstanceCallInstr* call);
104 void InlineStringIsEmptyGetter(InstanceCallInstr* call); 104 void InlineStringIsEmptyGetter(InstanceCallInstr* call);
105 105
106 RawBool* InstanceOfAsBool(const ICData& ic_data, 106 RawBool* InstanceOfAsBool(const ICData& ic_data,
107 const AbstractType& type) const; 107 const AbstractType& type) const;
108 108
109 void ReplaceWithMathCFunction(InstanceCallInstr* call,
110 MethodRecognizer::Kind recognized_kind);
111 109
112 FlowGraph* flow_graph_; 110 FlowGraph* flow_graph_;
113 111
114 DISALLOW_COPY_AND_ASSIGN(FlowGraphOptimizer); 112 DISALLOW_COPY_AND_ASSIGN(FlowGraphOptimizer);
115 }; 113 };
116 114
117 115
118 class ParsedFunction; 116 class ParsedFunction;
119 117
120 118
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 238
241 // Worklists of blocks and definitions. 239 // Worklists of blocks and definitions.
242 GrowableArray<BlockEntryInstr*> block_worklist_; 240 GrowableArray<BlockEntryInstr*> block_worklist_;
243 GrowableArray<Definition*> definition_worklist_; 241 GrowableArray<Definition*> definition_worklist_;
244 }; 242 };
245 243
246 244
247 } // namespace dart 245 } // namespace dart
248 246
249 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_ 247 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_
OLDNEW
« no previous file with comments | « runtime/vm/disassembler_x64.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698