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

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

Issue 11299298: Cache lookups at megamorphic call sites in optimized code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: One change I forgot. Created 8 years 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_ia32.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 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 LocationSummary* locs); 134 LocationSummary* locs);
135 135
136 void EmitInstanceCall(ExternalLabel* target_label, 136 void EmitInstanceCall(ExternalLabel* target_label,
137 const ICData& ic_data, 137 const ICData& ic_data,
138 const Array& arguments_descriptor, 138 const Array& arguments_descriptor,
139 intptr_t argument_count, 139 intptr_t argument_count,
140 intptr_t deopt_id, 140 intptr_t deopt_id,
141 intptr_t token_pos, 141 intptr_t token_pos,
142 LocationSummary* locs); 142 LocationSummary* locs);
143 143
144 void EmitMegamorphicInstanceCall(const ICData& ic_data,
145 const Array& arguments_descriptor,
146 intptr_t argument_count,
147 intptr_t deopt_id,
148 intptr_t token_pos,
149 LocationSummary* locs);
150
144 void EmitTestAndCall(const ICData& ic_data, 151 void EmitTestAndCall(const ICData& ic_data,
145 Register class_id_reg, 152 Register class_id_reg,
146 intptr_t arg_count, 153 intptr_t arg_count,
147 const Array& arg_names, 154 const Array& arg_names,
148 Label* deopt, 155 Label* deopt,
149 intptr_t deopt_id, 156 intptr_t deopt_id,
150 intptr_t token_index, 157 intptr_t token_index,
151 LocationSummary* locs); 158 LocationSummary* locs);
152 159
153 void EmitDoubleCompareBranch(Condition true_condition, 160 void EmitDoubleCompareBranch(Condition true_condition,
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 // that should be used when deoptimizing we store it in this variable. 355 // that should be used when deoptimizing we store it in this variable.
349 // In future AddDeoptStub should be moved out of the instruction template. 356 // In future AddDeoptStub should be moved out of the instruction template.
350 Environment* pending_deoptimization_env_; 357 Environment* pending_deoptimization_env_;
351 358
352 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 359 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
353 }; 360 };
354 361
355 } // namespace dart 362 } // namespace dart
356 363
357 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ 364 #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_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698