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

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

Issue 10917005: Add explicit class checks: LoadVMField. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: removed now unused helper Created 8 years, 3 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_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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 Label* is_instance_lbl, 121 Label* is_instance_lbl,
122 Label* is_not_instance_lbl); 122 Label* is_not_instance_lbl);
123 void GenerateStringTypeCheck(Register kClassIdReg, 123 void GenerateStringTypeCheck(Register kClassIdReg,
124 Label* is_instance_lbl, 124 Label* is_instance_lbl,
125 Label* is_not_instance_lbl); 125 Label* is_not_instance_lbl);
126 void GenerateListTypeCheck(Register kClassIdReg, 126 void GenerateListTypeCheck(Register kClassIdReg,
127 Label* is_instance_lbl); 127 Label* is_instance_lbl);
128 128
129 void EmitComment(Instruction* instr); 129 void EmitComment(Instruction* instr);
130 130
131 void EmitClassChecksNoSmi(const ICData& ic_data,
132 Register instance_reg,
133 Register temp_reg,
134 Label* deopt);
135
136 void EmitInstanceCall(ExternalLabel* target_label, 131 void EmitInstanceCall(ExternalLabel* target_label,
137 const ICData& ic_data, 132 const ICData& ic_data,
138 const Array& arguments_descriptor, 133 const Array& arguments_descriptor,
139 intptr_t argument_count, 134 intptr_t argument_count,
140 intptr_t deopt_id, 135 intptr_t deopt_id,
141 intptr_t token_pos, 136 intptr_t token_pos,
142 LocationSummary* locs); 137 LocationSummary* locs);
143 138
144 void EmitLoadIndexedGeneric(LoadIndexedComp* comp); 139 void EmitLoadIndexedGeneric(LoadIndexedComp* comp);
145 void EmitTestAndCall(const ICData& ic_data, 140 void EmitTestAndCall(const ICData& ic_data,
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 // that should be used when deoptimizing we store it in this variable. 317 // that should be used when deoptimizing we store it in this variable.
323 // In future AddDeoptStub should be moved out of the instruction template. 318 // In future AddDeoptStub should be moved out of the instruction template.
324 Environment* pending_deoptimization_env_; 319 Environment* pending_deoptimization_env_;
325 320
326 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 321 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
327 }; 322 };
328 323
329 } // namespace dart 324 } // namespace dart
330 325
331 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ 326 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698