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

Unified Diff: runtime/vm/locations.h

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 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 | « runtime/vm/kernel_to_il.cc ('k') | runtime/vm/locations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/locations.h
diff --git a/runtime/vm/locations.h b/runtime/vm/locations.h
index 4a1778f9f52a9574a3f34875fb346f20296264df..d6f14f807f236f0d2a13b24cb5e592cfa0d0cf18 100644
--- a/runtime/vm/locations.h
+++ b/runtime/vm/locations.h
@@ -12,14 +12,12 @@
namespace dart {
-
class BufferFormatter;
class ConstantInstr;
class Definition;
class PairLocation;
class Value;
-
enum Representation {
kNoRepresentation,
kTagged,
@@ -35,7 +33,6 @@ enum Representation {
kNumRepresentations
};
-
// Location objects are used to connect register allocator and code generator.
// Instruction templates used by code generator have a corresponding
// LocationSummary object which specifies expected location for every input
@@ -389,7 +386,6 @@ class Location : public ValueObject {
uword value_;
};
-
class PairLocation : public ZoneAllocated {
public:
PairLocation() {
@@ -423,7 +419,6 @@ class PairLocation : public ZoneAllocated {
Location locations_[kPairLength];
};
-
template <typename T>
class SmallSet {
public:
@@ -450,7 +445,6 @@ class SmallSet {
intptr_t data_;
};
-
class RegisterSet : public ValueObject {
public:
RegisterSet()
@@ -459,7 +453,6 @@ class RegisterSet : public ValueObject {
ASSERT(kNumberOfFpuRegisters <= (kWordSize * kBitsPerByte));
}
-
void Add(Location loc, Representation rep = kTagged) {
if (loc.IsRegister()) {
cpu_registers_.Add(loc.reg());
@@ -548,7 +541,6 @@ class RegisterSet : public ValueObject {
DISALLOW_COPY_AND_ASSIGN(RegisterSet);
};
-
// Specification of locations for inputs and output.
class LocationSummary : public ZoneAllocated {
public:
@@ -675,7 +667,6 @@ class LocationSummary : public ZoneAllocated {
#endif
};
-
} // namespace dart
#endif // RUNTIME_VM_LOCATIONS_H_
« no previous file with comments | « runtime/vm/kernel_to_il.cc ('k') | runtime/vm/locations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698