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

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

Issue 10458031: In generated code for x64 don't load object's class directly from class_ field. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Eliminate CoreClass helpers on ia32/x64 and use class ids for array classes. 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
« no previous file with comments | « runtime/vm/code_generator_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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 void GenerateCallRuntime(intptr_t cid, 126 void GenerateCallRuntime(intptr_t cid,
127 intptr_t token_index, 127 intptr_t token_index,
128 intptr_t try_index, 128 intptr_t try_index,
129 const RuntimeEntry& entry); 129 const RuntimeEntry& entry);
130 void AddCurrentDescriptor(PcDescriptors::Kind kind, 130 void AddCurrentDescriptor(PcDescriptors::Kind kind,
131 intptr_t cid, 131 intptr_t cid,
132 intptr_t token_index, 132 intptr_t token_index,
133 intptr_t try_index); 133 intptr_t try_index);
134 134
135 // Type checking helper methods. 135 // Type checking helper methods.
136 void CheckClasses(const GrowableArray<const Class*>& classes, 136 void CheckClassIds(const GrowableArray<intptr_t>& class_ids,
137 Label* is_instance_lbl, 137 Label* is_instance_lbl,
138 Label* is_not_instance_lbl); 138 Label* is_not_instance_lbl);
139 RawSubtypeTestCache* GenerateInlineInstanceof(intptr_t cid, 139 RawSubtypeTestCache* GenerateInlineInstanceof(intptr_t cid,
140 intptr_t token_index, 140 intptr_t token_index,
141 const AbstractType& type, 141 const AbstractType& type,
142 Label* is_instance, 142 Label* is_instance,
143 Label* is_not_instance); 143 Label* is_not_instance);
144 144
145 RawSubtypeTestCache* GenerateInstantiatedTypeWithArgumentsTest( 145 RawSubtypeTestCache* GenerateInstantiatedTypeWithArgumentsTest(
146 intptr_t cid, 146 intptr_t cid,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 ExceptionHandlerList* exception_handlers_list_; 204 ExceptionHandlerList* exception_handlers_list_;
205 GrowableArray<DeoptimizationStub*> deopt_stubs_; 205 GrowableArray<DeoptimizationStub*> deopt_stubs_;
206 const bool is_optimizing_; 206 const bool is_optimizing_;
207 207
208 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 208 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
209 }; 209 };
210 210
211 } // namespace dart 211 } // namespace dart
212 212
213 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 213 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/code_generator_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