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

Unified Diff: runtime/vm/flow_graph_allocator.h

Issue 10806099: Some cleanups. (Closed) Base URL: http://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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/flow_graph_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_allocator.h
===================================================================
--- runtime/vm/flow_graph_allocator.h (revision 9862)
+++ runtime/vm/flow_graph_allocator.h (working copy)
@@ -201,16 +201,11 @@
// It points to a location slot which either tells register allocator
// where instruction expects the value (if slot contains a fixed location) or
// asks register allocator to allocate storage (register or spill slot) for
-// this use with certain properties (if slot contain an unallocated location).
+// this use with certain properties (if slot contains an unallocated location).
class UsePosition : public ZoneAllocated {
public:
- UsePosition(intptr_t pos,
- UsePosition* next,
- Location* location_slot)
- : pos_(pos),
- location_slot_(location_slot),
- next_(next) {
- }
+ UsePosition(intptr_t pos, UsePosition* next, Location* location_slot)
+ : pos_(pos), location_slot_(location_slot), next_(next) { }
Location* location_slot() const { return location_slot_; }
void set_location_slot(Location* location_slot) {
@@ -284,10 +279,10 @@
class AllocationFinger : public ValueObject {
public:
AllocationFinger()
- : first_pending_use_interval_(NULL),
- first_register_use_(NULL),
- first_register_beneficial_use_(NULL),
- first_hinted_use_(NULL) {
+ : first_pending_use_interval_(NULL),
+ first_register_use_(NULL),
+ first_register_beneficial_use_(NULL),
+ first_hinted_use_(NULL) {
}
void Initialize(LiveRange* range);
@@ -316,12 +311,12 @@
public:
explicit LiveRange(intptr_t vreg)
: vreg_(vreg),
+ assigned_location_(),
uses_(NULL),
first_use_interval_(NULL),
last_use_interval_(NULL),
next_sibling_(NULL),
- finger_() {
- }
+ finger_() {}
hausner 2012/07/24 23:53:47 I actually like the old formatting better, but it'
srdjan 2012/07/24 23:57:16 Changed it to old formatting.
static LiveRange* MakeTemp(intptr_t pos, Location* location_slot);
@@ -363,6 +358,7 @@
UseInterval* last_use_interval,
LiveRange* next_sibling)
: vreg_(vreg),
+ assigned_location_(),
uses_(uses),
first_use_interval_(first_use_interval),
last_use_interval_(last_use_interval),
« no previous file with comments | « no previous file | runtime/vm/flow_graph_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698