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

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

Issue 10407018: Start porting fast typechecks to x64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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_builder.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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 PcDescriptors::Kind kind); 105 PcDescriptors::Kind kind);
106 void GenerateCallRuntime(intptr_t cid, 106 void GenerateCallRuntime(intptr_t cid,
107 intptr_t token_index, 107 intptr_t token_index,
108 intptr_t try_index, 108 intptr_t try_index,
109 const RuntimeEntry& entry); 109 const RuntimeEntry& entry);
110 void AddCurrentDescriptor(PcDescriptors::Kind kind, 110 void AddCurrentDescriptor(PcDescriptors::Kind kind,
111 intptr_t cid, 111 intptr_t cid,
112 intptr_t token_index, 112 intptr_t token_index,
113 intptr_t try_index); 113 intptr_t try_index);
114 114
115 void GenerateInlineInstanceof(const AbstractType& type, 115 RawSubtypeTestCache* GenerateInlineInstanceof(intptr_t cid,
116 Label* is_instance, 116 intptr_t token_index,
117 Label* is_not_instance); 117 const AbstractType& type,
118 Label* is_instance,
119 Label* is_not_instance);
118 120
119 void GenerateAssertAssignable(intptr_t cid, 121 void GenerateAssertAssignable(intptr_t cid,
120 intptr_t token_index, 122 intptr_t token_index,
121 intptr_t try_index, 123 intptr_t try_index,
122 const AbstractType& dst_type, 124 const AbstractType& dst_type,
123 const String& dst_name); 125 const String& dst_name);
124 126
125 void GenerateInstanceOf(intptr_t cid, 127 void GenerateInstanceOf(intptr_t cid,
126 intptr_t token_index, 128 intptr_t token_index,
127 intptr_t try_index, 129 intptr_t try_index,
(...skipping 20 matching lines...) Expand all
148 DescriptorList* pc_descriptors_list_; 150 DescriptorList* pc_descriptors_list_;
149 ExceptionHandlerList* exception_handlers_list_; 151 ExceptionHandlerList* exception_handlers_list_;
150 const bool is_optimizing_; 152 const bool is_optimizing_;
151 153
152 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 154 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
153 }; 155 };
154 156
155 } // namespace dart 157 } // namespace dart
156 158
157 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 159 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698