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

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

Issue 2658733002: VM: Remove unused optimization of merging of sin/cos. (Closed)
Patch Set: Remove now unused representation Created 3 years, 10 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 | « runtime/vm/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_compiler_arm.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 RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ 5 #ifndef RUNTIME_VM_FLOW_GRAPH_COMPILER_H_
6 #define RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ 6 #define RUNTIME_VM_FLOW_GRAPH_COMPILER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/code_descriptors.h" 10 #include "vm/code_descriptors.h"
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 const ParsedFunction& parsed_function, 285 const ParsedFunction& parsed_function,
286 bool is_optimizing, 286 bool is_optimizing,
287 const GrowableArray<const Function*>& inline_id_to_function, 287 const GrowableArray<const Function*>& inline_id_to_function,
288 const GrowableArray<TokenPosition>& inline_id_to_token_pos, 288 const GrowableArray<TokenPosition>& inline_id_to_token_pos,
289 const GrowableArray<intptr_t>& caller_inline_id); 289 const GrowableArray<intptr_t>& caller_inline_id);
290 290
291 ~FlowGraphCompiler(); 291 ~FlowGraphCompiler();
292 292
293 static bool SupportsUnboxedDoubles(); 293 static bool SupportsUnboxedDoubles();
294 static bool SupportsUnboxedMints(); 294 static bool SupportsUnboxedMints();
295 static bool SupportsSinCos();
296 static bool SupportsUnboxedSimd128(); 295 static bool SupportsUnboxedSimd128();
297 static bool SupportsHardwareDivision(); 296 static bool SupportsHardwareDivision();
298 static bool CanConvertUnboxedMintToDouble(); 297 static bool CanConvertUnboxedMintToDouble();
299 298
300 static bool IsUnboxedField(const Field& field); 299 static bool IsUnboxedField(const Field& field);
301 static bool IsPotentialUnboxedField(const Field& field); 300 static bool IsPotentialUnboxedField(const Field& field);
302 301
303 // Accessors. 302 // Accessors.
304 Assembler* assembler() const { return assembler_; } 303 Assembler* assembler() const { return assembler_; }
305 const ParsedFunction& parsed_function() const { return parsed_function_; } 304 const ParsedFunction& parsed_function() const { return parsed_function_; }
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 const GrowableArray<const Function*>& inline_id_to_function_; 814 const GrowableArray<const Function*>& inline_id_to_function_;
816 const GrowableArray<TokenPosition>& inline_id_to_token_pos_; 815 const GrowableArray<TokenPosition>& inline_id_to_token_pos_;
817 const GrowableArray<intptr_t>& caller_inline_id_; 816 const GrowableArray<intptr_t>& caller_inline_id_;
818 817
819 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 818 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
820 }; 819 };
821 820
822 } // namespace dart 821 } // namespace dart
823 822
824 #endif // RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ 823 #endif // RUNTIME_VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698