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

Unified Diff: runtime/vm/code_descriptors.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/clustered_snapshot.cc ('k') | runtime/vm/code_descriptors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_descriptors.h
diff --git a/runtime/vm/code_descriptors.h b/runtime/vm/code_descriptors.h
index 1648c48b61886de1bf6f1ea60a6be5015b1eef39..c31b4a1f32b254cfdd78b611dd5f9fbc19401817 100644
--- a/runtime/vm/code_descriptors.h
+++ b/runtime/vm/code_descriptors.h
@@ -43,7 +43,6 @@ class DescriptorList : public ZoneAllocated {
DISALLOW_COPY_AND_ASSIGN(DescriptorList);
};
-
class StackMapTableBuilder : public ZoneAllocated {
public:
StackMapTableBuilder()
@@ -69,7 +68,6 @@ class StackMapTableBuilder : public ZoneAllocated {
DISALLOW_COPY_AND_ASSIGN(StackMapTableBuilder);
};
-
class ExceptionHandlerList : public ZoneAllocated {
public:
struct HandlerDesc {
@@ -117,7 +115,6 @@ class ExceptionHandlerList : public ZoneAllocated {
list_[try_index].needs_stacktrace |= needs_stacktrace;
}
-
// Called by rethrows, to mark their enclosing handlers.
void SetNeedsStackTrace(intptr_t try_index) {
// Rethrows can be generated outside a try by the compiler.
@@ -131,7 +128,6 @@ class ExceptionHandlerList : public ZoneAllocated {
list_[try_index].needs_stacktrace = true;
}
-
static bool ContainsDynamic(const Array& array) {
for (intptr_t i = 0; i < array.Length(); i++) {
if (array.At(i) == Type::DynamicType()) {
@@ -148,7 +144,6 @@ class ExceptionHandlerList : public ZoneAllocated {
DISALLOW_COPY_AND_ASSIGN(ExceptionHandlerList);
};
-
// An encoded move from stack/constant to stack performed
struct CatchEntryStatePair {
enum { kCatchEntryStateIsMove = 1, kCatchEntryStateDestShift = 1 };
@@ -176,7 +171,6 @@ struct CatchEntryStatePair {
}
};
-
// Used to construct CatchEntryState metadata for AoT mode of compilation.
class CatchEntryStateMapBuilder : public ZoneAllocated {
public:
@@ -201,7 +195,6 @@ class CatchEntryStateMapBuilder : public ZoneAllocated {
DISALLOW_COPY_AND_ASSIGN(CatchEntryStateMapBuilder);
};
-
// A CodeSourceMap maps from pc offsets to a stack of inlined functions and
// their positions. This is encoded as a little bytecode that pushes and pops
// functions and changes the top function's position as the PC advances.
@@ -307,7 +300,6 @@ class CodeSourceMapBuilder : public ZoneAllocated {
DISALLOW_COPY_AND_ASSIGN(CodeSourceMapBuilder);
};
-
class CodeSourceMapReader : public ValueObject {
public:
CodeSourceMapReader(const CodeSourceMap& map,
« no previous file with comments | « runtime/vm/clustered_snapshot.cc ('k') | runtime/vm/code_descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698