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

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

Issue 10332200: Applied my comment to Kevin's CL (it did not go through in the first place). (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 | « 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_INTERMEDIATE_LANGUAGE_H_ 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_
6 #define VM_INTERMEDIATE_LANGUAGE_H_ 6 #define VM_INTERMEDIATE_LANGUAGE_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 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 GrowableArray<BlockEntryInstr*>* preorder, 1325 GrowableArray<BlockEntryInstr*>* preorder,
1326 GrowableArray<BlockEntryInstr*>* postorder, 1326 GrowableArray<BlockEntryInstr*>* postorder,
1327 GrowableArray<intptr_t>* parent, 1327 GrowableArray<intptr_t>* parent,
1328 GrowableArray<BitVector*>* assigned_vars, 1328 GrowableArray<BitVector*>* assigned_vars,
1329 intptr_t variable_count); 1329 intptr_t variable_count);
1330 1330
1331 void AddCatchEntry(TargetEntryInstr* entry) { catch_entries_.Add(entry); } 1331 void AddCatchEntry(TargetEntryInstr* entry) { catch_entries_.Add(entry); }
1332 1332
1333 private: 1333 private:
1334 TargetEntryInstr* normal_entry_; 1334 TargetEntryInstr* normal_entry_;
1335 ZoneGrowableArray<TargetEntryInstr*> catch_entries_; 1335 GrowableArray<TargetEntryInstr*> catch_entries_;
1336 1336
1337 DISALLOW_COPY_AND_ASSIGN(GraphEntryInstr); 1337 DISALLOW_COPY_AND_ASSIGN(GraphEntryInstr);
1338 }; 1338 };
1339 1339
1340 1340
1341 class JoinEntryInstr : public BlockEntryInstr { 1341 class JoinEntryInstr : public BlockEntryInstr {
1342 public: 1342 public:
1343 JoinEntryInstr() 1343 JoinEntryInstr()
1344 : BlockEntryInstr(), 1344 : BlockEntryInstr(),
1345 predecessors_(2), // Two is the assumed to be the common case. 1345 predecessors_(2), // Two is the assumed to be the common case.
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
1671 const GrowableArray<BlockEntryInstr*>& block_order_; 1671 const GrowableArray<BlockEntryInstr*>& block_order_;
1672 1672
1673 private: 1673 private:
1674 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 1674 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
1675 }; 1675 };
1676 1676
1677 1677
1678 } // namespace dart 1678 } // namespace dart
1679 1679
1680 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 1680 #endif // VM_INTERMEDIATE_LANGUAGE_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