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

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

Issue 11017017: Fix bug with missing unboxed mint-to-double conversion. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 | « no previous file | runtime/vm/flow_graph_optimizer.cc » ('j') | runtime/vm/flow_graph_optimizer.cc » ('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_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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 void AddCheckClass(InstanceCallInstr* call, Value* value); 56 void AddCheckClass(InstanceCallInstr* call, Value* value);
57 57
58 void InsertAfter(Instruction* prev, 58 void InsertAfter(Instruction* prev,
59 Instruction* instr, 59 Instruction* instr,
60 Environment* env, 60 Environment* env,
61 Definition::UseKind use_kind); 61 Definition::UseKind use_kind);
62 62
63 void InsertConversionsFor(Definition* def); 63 void InsertConversionsFor(Definition* def);
64 64
65 void CreateConversion(Representation from,
66 Representation to,
67 Instruction* instr,
68 Value* use,
69 Definition* def,
70 Instruction* deopt_target);
71
65 bool InstanceCallNeedsClassCheck(InstanceCallInstr* call) const; 72 bool InstanceCallNeedsClassCheck(InstanceCallInstr* call) const;
66 73
67 void InlineImplicitInstanceGetter(InstanceCallInstr* call); 74 void InlineImplicitInstanceGetter(InstanceCallInstr* call);
68 void InlineArrayLengthGetter(InstanceCallInstr* call, 75 void InlineArrayLengthGetter(InstanceCallInstr* call,
69 intptr_t length_offset, 76 intptr_t length_offset,
70 bool is_immutable); 77 bool is_immutable);
71 void InlineGArrayCapacityGetter(InstanceCallInstr* call); 78 void InlineGArrayCapacityGetter(InstanceCallInstr* call);
72 void InlineStringLengthGetter(InstanceCallInstr* call); 79 void InlineStringLengthGetter(InstanceCallInstr* call);
73 void InlineStringIsEmptyTester(InstanceCallInstr* call); 80 void InlineStringIsEmptyTester(InstanceCallInstr* call);
74 81
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 227
221 // Worklists of blocks and definitions. 228 // Worklists of blocks and definitions.
222 GrowableArray<BlockEntryInstr*> block_worklist_; 229 GrowableArray<BlockEntryInstr*> block_worklist_;
223 GrowableArray<Definition*> definition_worklist_; 230 GrowableArray<Definition*> definition_worklist_;
224 }; 231 };
225 232
226 233
227 } // namespace dart 234 } // namespace dart
228 235
229 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_ 236 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_optimizer.cc » ('j') | runtime/vm/flow_graph_optimizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698