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

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

Issue 10702195: Equality compare should record two arguments in IC data. INline double equality comparison. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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/flow_graph_compiler.cc ('k') | runtime/vm/flow_graph_compiler_x64.h » ('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_COMPILER_IA32_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_IA32_H_
6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_ 6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_
7 7
8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_
9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.h. 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.h.
10 #endif 10 #endif
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 void EmitTestAndCall(const ICData& ic_data, 138 void EmitTestAndCall(const ICData& ic_data,
139 Register class_id_reg, 139 Register class_id_reg,
140 intptr_t arg_count, 140 intptr_t arg_count,
141 const Array& arg_names, 141 const Array& arg_names,
142 Label* deopt, 142 Label* deopt,
143 Label* done, // Can be NULL, which means fallthrough. 143 Label* done, // Can be NULL, which means fallthrough.
144 intptr_t cid, 144 intptr_t cid,
145 intptr_t token_index, 145 intptr_t token_index,
146 intptr_t try_index); 146 intptr_t try_index);
147 147
148 void EmitDoubleCompareBranch(Condition true_condition,
149 XmmRegister left,
150 XmmRegister right,
151 BranchInstr* branch);
152 void EmitDoubleCompareBool(Condition true_condition,
153 XmmRegister left,
154 XmmRegister right,
155 Register result);
156
148 intptr_t StackSize() const; 157 intptr_t StackSize() const;
149 158
150 // Returns assembler label associated with the given block entry. 159 // Returns assembler label associated with the given block entry.
151 Label* GetBlockLabel(BlockEntryInstr* block_entry) const; 160 Label* GetBlockLabel(BlockEntryInstr* block_entry) const;
152 161
153 // Returns true if the next block after current in the current block order 162 // Returns true if the next block after current in the current block order
154 // is the given block. 163 // is the given block.
155 bool IsNextBlock(TargetEntryInstr* block_entry) const; 164 bool IsNextBlock(TargetEntryInstr* block_entry) const;
156 165
157 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset); 166 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset);
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 // that should be used when deoptimizing we store it in this variable. 307 // that should be used when deoptimizing we store it in this variable.
299 // In future AddDeoptStub should be moved out of the instruction template. 308 // In future AddDeoptStub should be moved out of the instruction template.
300 Environment* pending_deoptimization_env_; 309 Environment* pending_deoptimization_env_;
301 310
302 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 311 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
303 }; 312 };
304 313
305 } // namespace dart 314 } // namespace dart
306 315
307 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ 316 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/flow_graph_compiler_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698