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

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

Issue 328663002: Version 1.5.0-dev.4.5 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 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 | « dart/runtime/vm/flow_graph.cc ('k') | dart/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 "platform/assert.h" 8 #include "platform/assert.h"
9 #include "platform/globals.h" 9 #include "platform/globals.h"
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 bool IsInlining() const { return (exit_collector_ != NULL); } 193 bool IsInlining() const { return (exit_collector_ != NULL); }
194 InlineExitCollector* exit_collector() const { return exit_collector_; } 194 InlineExitCollector* exit_collector() const { return exit_collector_; }
195 195
196 bool is_optimizing() const { return is_optimizing_; } 196 bool is_optimizing() const { return is_optimizing_; }
197 197
198 ZoneGrowableArray<const Field*>* guarded_fields() const { 198 ZoneGrowableArray<const Field*>* guarded_fields() const {
199 return guarded_fields_; 199 return guarded_fields_;
200 } 200 }
201 201
202 ZoneGrowableArray<const LibraryPrefix*>* deferred_prefixes() const {
203 return parsed_function_->deferred_prefixes();
204 }
205
202 intptr_t temp_count() const { return temp_count_; } 206 intptr_t temp_count() const { return temp_count_; }
203 intptr_t AllocateTemp() { return temp_count_++; } 207 intptr_t AllocateTemp() { return temp_count_++; }
204 void DeallocateTemps(intptr_t count) { 208 void DeallocateTemps(intptr_t count) {
205 ASSERT(temp_count_ >= count); 209 ASSERT(temp_count_ >= count);
206 temp_count_ -= count; 210 temp_count_ -= count;
207 } 211 }
208 212
209 intptr_t args_pushed() const { return args_pushed_; } 213 intptr_t args_pushed() const { return args_pushed_; }
210 void add_args_pushed(intptr_t n) { args_pushed_ += n; } 214 void add_args_pushed(intptr_t n) { args_pushed_ += n; }
211 215
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 // Output parameters. 586 // Output parameters.
583 GrowableArray<TargetEntryInstr**> true_successor_addresses_; 587 GrowableArray<TargetEntryInstr**> true_successor_addresses_;
584 GrowableArray<TargetEntryInstr**> false_successor_addresses_; 588 GrowableArray<TargetEntryInstr**> false_successor_addresses_;
585 589
586 intptr_t condition_token_pos_; 590 intptr_t condition_token_pos_;
587 }; 591 };
588 592
589 } // namespace dart 593 } // namespace dart
590 594
591 #endif // VM_FLOW_GRAPH_BUILDER_H_ 595 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « dart/runtime/vm/flow_graph.cc ('k') | dart/runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698