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

Side by Side Diff: runtime/vm/flow_graph_compiler_x64.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 | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.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_X64_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_X64_H_
6 #define VM_FLOW_GRAPH_COMPILER_X64_H_ 6 #define VM_FLOW_GRAPH_COMPILER_X64_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_x64.h. 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.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 EmitTestAndCall(const ICData& ic_data, 139 void EmitTestAndCall(const ICData& ic_data,
145 Register class_id_reg, 140 Register class_id_reg,
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // that should be used when deoptimizing we store it in this variable. 316 // that should be used when deoptimizing we store it in this variable.
322 // In future AddDeoptStub should be moved out of the instruction template. 317 // In future AddDeoptStub should be moved out of the instruction template.
323 Environment* pending_deoptimization_env_; 318 Environment* pending_deoptimization_env_;
324 319
325 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 320 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
326 }; 321 };
327 322
328 } // namespace dart 323 } // namespace dart
329 324
330 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 325 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698