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

Unified Diff: runtime/vm/assembler.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/aot_optimizer.cc ('k') | runtime/vm/assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler.h
diff --git a/runtime/vm/assembler.h b/runtime/vm/assembler.h
index 768297a2818d2f50f8b5049c42887fa402df7197..6beeb1eaa78ae7a081b64c3970efce2139d82038 100644
--- a/runtime/vm/assembler.h
+++ b/runtime/vm/assembler.h
@@ -24,7 +24,6 @@ class AssemblerFixup;
class AssemblerBuffer;
class MemoryRegion;
-
// External labels keep a function pointer to allow them
// to be called from code generated by the assembler.
class ExternalLabel : public ValueObject {
@@ -41,7 +40,6 @@ class ExternalLabel : public ValueObject {
const uword address_;
};
-
// Assembler fixups are positions in generated code that hold relocation
// information that needs to be processed before finalizing the code
// into executable memory.
@@ -68,7 +66,6 @@ class AssemblerFixup : public ZoneAllocated {
friend class AssemblerBuffer;
};
-
// Assembler buffers are used to emit binary code. They grow on demand.
class AssemblerBuffer : public ValueObject {
public:
@@ -213,7 +210,6 @@ class AssemblerBuffer : public ValueObject {
friend class AssemblerFixup;
};
-
struct ObjectPoolWrapperEntry {
ObjectPoolWrapperEntry() : raw_value_(), type_(), equivalence_() {}
explicit ObjectPoolWrapperEntry(const Object* obj)
@@ -231,7 +227,6 @@ struct ObjectPoolWrapperEntry {
const Object* equivalence_;
};
-
// Pair type parameter for DirectChainedHashMap used for the constant pool.
class ObjIndexPair {
public:
@@ -289,13 +284,11 @@ class ObjIndexPair {
Value value_;
};
-
enum Patchability {
kPatchable,
kNotPatchable,
};
-
class ObjectPoolWrapper : public ValueObject {
public:
intptr_t AddObject(const Object& obj, Patchability patchable = kNotPatchable);
@@ -320,12 +313,10 @@ class ObjectPoolWrapper : public ValueObject {
DirectChainedHashMap<ObjIndexPair> object_pool_index_table_;
};
-
enum RestorePP { kRestoreCallerPP, kKeepCalleePP };
} // namespace dart
-
#if defined(TARGET_ARCH_IA32)
#include "vm/assembler_ia32.h"
#elif defined(TARGET_ARCH_X64)
« no previous file with comments | « runtime/vm/aot_optimizer.cc ('k') | runtime/vm/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698