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

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

Issue 10703088: Fix broken build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 | no next file » | 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 // Moves parent context into the context register. 191 // Moves parent context into the context register.
192 void UnchainContext(); 192 void UnchainContext();
193 193
194 void CloseFragment() { exit_ = NULL; } 194 void CloseFragment() { exit_ = NULL; }
195 intptr_t AllocateTempIndex() { return temp_index_++; } 195 intptr_t AllocateTempIndex() { return temp_index_++; }
196 void DeallocateTempIndex(intptr_t n) { 196 void DeallocateTempIndex(intptr_t n) {
197 ASSERT(temp_index_ >= n); 197 ASSERT(temp_index_ >= n);
198 temp_index_ -= n; 198 temp_index_ -= n;
199 } 199 }
200 200
201 BindInstr* BuildObjectAllocation(ConstructorCallNode* node); 201 Value* BuildObjectAllocation(ConstructorCallNode* node);
202 void BuildConstructorCall(ConstructorCallNode* node, Value* alloc_value); 202 void BuildConstructorCall(ConstructorCallNode* node, Value* alloc_value);
203 203
204 void BuildStoreContext(const LocalVariable& variable); 204 void BuildStoreContext(const LocalVariable& variable);
205 void BuildLoadContext(const LocalVariable& variable); 205 void BuildLoadContext(const LocalVariable& variable);
206 206
207 void BuildThrowNode(ThrowNode* node); 207 void BuildThrowNode(ThrowNode* node);
208 208
209 ClosureCallComp* BuildClosureCall(ClosureCallNode* node); 209 ClosureCallComp* BuildClosureCall(ClosureCallNode* node);
210 210
211 Value* BuildNullValue(); 211 Value* BuildNullValue();
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 // Output parameters. 324 // Output parameters.
325 TargetEntryInstr** true_successor_address_; 325 TargetEntryInstr** true_successor_address_;
326 TargetEntryInstr** false_successor_address_; 326 TargetEntryInstr** false_successor_address_;
327 327
328 intptr_t condition_token_pos_; 328 intptr_t condition_token_pos_;
329 }; 329 };
330 330
331 } // namespace dart 331 } // namespace dart
332 332
333 #endif // VM_FLOW_GRAPH_BUILDER_H_ 333 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698