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

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

Issue 10071016: Eliminated last bailout (except for type checked mode) in the new compiler: generate type arguments… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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_builder.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_BUILDER_H_ 5 #ifndef VM_FLOW_GRAPH_BUILDER_H_
6 #define VM_FLOW_GRAPH_BUILDER_H_ 6 #define VM_FLOW_GRAPH_BUILDER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/ast.h" 9 #include "vm/ast.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // preparation of a constructor call. 149 // preparation of a constructor call.
150 // May be called only if allocating an object of a parameterized class. 150 // May be called only if allocating an object of a parameterized class.
151 void BuildConstructorTypeArguments(ConstructorCallNode* node, 151 void BuildConstructorTypeArguments(ConstructorCallNode* node,
152 intptr_t start_index, 152 intptr_t start_index,
153 ZoneGrowableArray<Value*>* args); 153 ZoneGrowableArray<Value*>* args);
154 154
155 // Returns the value of the type arguments of the instantiator. 155 // Returns the value of the type arguments of the instantiator.
156 Value* BuildInstantiatorTypeArguments(intptr_t token_index, 156 Value* BuildInstantiatorTypeArguments(intptr_t token_index,
157 intptr_t start_index); 157 intptr_t start_index);
158 158
159 void BuildInstanceOf(ComparisonNode* node);
160
159 bool MustSaveRestoreContext(SequenceNode* node) const; 161 bool MustSaveRestoreContext(SequenceNode* node) const;
160 162
161 // Moves parent context into the context register. 163 // Moves parent context into the context register.
162 void UnchainContext(); 164 void UnchainContext();
163 165
164 void CloseFragment() { exit_ = NULL; } 166 void CloseFragment() { exit_ = NULL; }
165 intptr_t AllocateTempIndex() { return temp_index_++; } 167 intptr_t AllocateTempIndex() { return temp_index_++; }
166 168
167 virtual void CompiletimeStringInterpolation(const Function& interpol_func, 169 virtual void CompiletimeStringInterpolation(const Function& interpol_func,
168 const Array& literals); 170 const Array& literals);
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 } 307 }
306 308
307 // Output parameters. 309 // Output parameters.
308 TargetEntryInstr** true_successor_address_; 310 TargetEntryInstr** true_successor_address_;
309 TargetEntryInstr** false_successor_address_; 311 TargetEntryInstr** false_successor_address_;
310 }; 312 };
311 313
312 } // namespace dart 314 } // namespace dart
313 315
314 #endif // VM_FLOW_GRAPH_BUILDER_H_ 316 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698