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

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
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 PcDescriptors::Kind kind); 102 PcDescriptors::Kind kind);
103 void GenerateCallRuntime(intptr_t cid, 103 void GenerateCallRuntime(intptr_t cid,
104 intptr_t token_index, 104 intptr_t token_index,
105 intptr_t try_index, 105 intptr_t try_index,
106 const RuntimeEntry& entry); 106 const RuntimeEntry& entry);
107 void AddCurrentDescriptor(PcDescriptors::Kind kind, 107 void AddCurrentDescriptor(PcDescriptors::Kind kind,
108 intptr_t cid, 108 intptr_t cid,
109 intptr_t token_index, 109 intptr_t token_index,
110 intptr_t try_index); 110 intptr_t try_index);
111 111
112 void GenerateInlineInstanceof(const AbstractType& type, 112 RawSubtypeTestCache* GenerateInlineInstanceof(intptr_t cid,
113 Label* is_instance, 113 intptr_t token_index,
114 Label* is_not_instance); 114 const AbstractType& type,
115 Label* is_instance,
116 Label* is_not_instance);
115 117
116 void GenerateAssertAssignable(intptr_t cid, 118 void GenerateAssertAssignable(intptr_t cid,
117 intptr_t token_index, 119 intptr_t token_index,
118 intptr_t try_index, 120 intptr_t try_index,
119 const AbstractType& dst_type, 121 const AbstractType& dst_type,
120 const String& dst_name); 122 const String& dst_name);
121 123
122 void GenerateInstanceOf(intptr_t cid, 124 void GenerateInstanceOf(intptr_t cid,
123 intptr_t token_index, 125 intptr_t token_index,
124 intptr_t try_index, 126 intptr_t try_index,
(...skipping 20 matching lines...) Expand all
145 DescriptorList* pc_descriptors_list_; 147 DescriptorList* pc_descriptors_list_;
146 ExceptionHandlerList* exception_handlers_list_; 148 ExceptionHandlerList* exception_handlers_list_;
147 const bool is_optimizing_; 149 const bool is_optimizing_;
148 150
149 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 151 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
150 }; 152 };
151 153
152 } // namespace dart 154 } // namespace dart
153 155
154 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 156 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698