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

Side by Side Diff: vm/flow_graph_allocator.h

Issue 10635020: Add new files and data structures for the new register allocator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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 | « vm/compiler.cc ('k') | vm/flow_graph_allocator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 #ifndef VM_FLOW_GRAPH_ALLOCATOR_H_
6 #define VM_FLOW_GRAPH_ALLOCATOR_H_
7
8 #include "vm/growable_array.h"
9 #include "vm/intermediate_language.h"
10
11 namespace dart {
srdjan 2012/06/22 14:10:20 Maybe add a comment that this is a register alloca
12
13 class FlowGraphAllocator : public ValueObject {
14 public:
15 explicit FlowGraphAllocator(const GrowableArray<BlockEntryInstr*>& blocks)
16 : blocks_(blocks) { }
17
18 void ResolveConstraints();
19
20 private:
21 const GrowableArray<BlockEntryInstr*>& blocks_;
22
23 DISALLOW_COPY_AND_ASSIGN(FlowGraphAllocator);
24 };
25
26 } // namespace dart
27
28 #endif // VM_FLOW_GRAPH_ALLOCATOR_H_
OLDNEW
« no previous file with comments | « vm/compiler.cc ('k') | vm/flow_graph_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698