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

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

Issue 10543111: Optimize StoreIndexedComp on ia32&x64. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: disable store indexed specialization if FLAG_enable_type_checks Created 8 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 | Annotate | Revision Log
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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset); 156 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset);
157 void AddCurrentDescriptor(PcDescriptors::Kind kind, 157 void AddCurrentDescriptor(PcDescriptors::Kind kind,
158 intptr_t cid, 158 intptr_t cid,
159 intptr_t token_index, 159 intptr_t token_index,
160 intptr_t try_index); 160 intptr_t try_index);
161 Label* AddDeoptStub(intptr_t deopt_id, 161 Label* AddDeoptStub(intptr_t deopt_id,
162 intptr_t deopt_token_index, 162 intptr_t deopt_token_index,
163 intptr_t try_index_, 163 intptr_t try_index_,
164 DeoptReasonId reason, 164 DeoptReasonId reason,
165 Register reg1, 165 Register reg1,
166 Register reg2); 166 Register reg2,
srdjan 2012/06/12 16:43:46 Also add for reg2 and remove kNoregister ar call s
167 Register reg3 = kNoRegister);
167 168
168 void FinalizeExceptionHandlers(const Code& code); 169 void FinalizeExceptionHandlers(const Code& code);
169 void FinalizePcDescriptors(const Code& code); 170 void FinalizePcDescriptors(const Code& code);
170 void FinalizeStackmaps(const Code& code); 171 void FinalizeStackmaps(const Code& code);
171 void FinalizeVarDescriptors(const Code& code); 172 void FinalizeVarDescriptors(const Code& code);
172 void FinalizeComments(const Code& code); 173 void FinalizeComments(const Code& code);
173 174
174 static const int kLocalsOffsetFromFP = (-1 * kWordSize); 175 static const int kLocalsOffsetFromFP = (-1 * kWordSize);
175 176
176 private: 177 private:
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 GrowableArray<Register> registers_; 292 GrowableArray<Register> registers_;
292 Label entry_label_; 293 Label entry_label_;
293 294
294 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); 295 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub);
295 }; 296 };
296 297
297 298
298 } // namespace dart 299 } // namespace dart
299 300
300 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ 301 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698