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

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

Issue 2074533002: Simplify and improve optimization of is-tests in the precompiler. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | runtime/vm/aot_optimizer.cc » ('j') | runtime/vm/raw_object.h » ('J')
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_AOT_OPTIMIZER_H_ 5 #ifndef VM_AOT_OPTIMIZER_H_
6 #define VM_AOT_OPTIMIZER_H_ 6 #define VM_AOT_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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 bool TryStringLengthOneEquality(InstanceCallInstr* call, Token::Kind op_kind); 156 bool TryStringLengthOneEquality(InstanceCallInstr* call, Token::Kind op_kind);
157 157
158 RawField* GetField(intptr_t class_id, const String& field_name); 158 RawField* GetField(intptr_t class_id, const String& field_name);
159 159
160 Thread* thread() const { return flow_graph_->thread(); } 160 Thread* thread() const { return flow_graph_->thread(); }
161 Isolate* isolate() const { return flow_graph_->isolate(); } 161 Isolate* isolate() const { return flow_graph_->isolate(); }
162 Zone* zone() const { return flow_graph_->zone(); } 162 Zone* zone() const { return flow_graph_->zone(); }
163 163
164 const Function& function() const { return flow_graph_->function(); } 164 const Function& function() const { return flow_graph_->function(); }
165 165
166 bool IsBlackListedForInlining(intptr_t deopt_id); 166 bool IsAllowedForInlining(intptr_t deopt_id);
167 167
168 FlowGraph* flow_graph_; 168 FlowGraph* flow_graph_;
169 169
170 const bool use_speculative_inlining_; 170 const bool use_speculative_inlining_;
171 171
172 GrowableArray<intptr_t>* inlining_black_list_; 172 GrowableArray<intptr_t>* inlining_black_list_;
173 173
174 DISALLOW_COPY_AND_ASSIGN(AotOptimizer); 174 DISALLOW_COPY_AND_ASSIGN(AotOptimizer);
175 }; 175 };
176 176
177 177
178 } // namespace dart 178 } // namespace dart
179 179
180 #endif // VM_AOT_OPTIMIZER_H_ 180 #endif // VM_AOT_OPTIMIZER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/aot_optimizer.cc » ('j') | runtime/vm/raw_object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698