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

Unified Diff: runtime/vm/stub_code.h

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month 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/store_buffer.cc ('k') | runtime/vm/stub_code.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code.h
diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h
index d18329672543c40193869f553e3a1f0be95f778c..7d0dd14534fec8387dee5500a9ee8969e8d9137d 100644
--- a/runtime/vm/stub_code.h
+++ b/runtime/vm/stub_code.h
@@ -67,7 +67,7 @@ class Deserializer;
V(Subtype2TestCache) \
V(Subtype3TestCache) \
V(CallClosureNoSuchMethod) \
- V(FrameAwaitingMaterialization) \
+ V(FrameAwaitingMaterialization)
#else
#define VM_STUB_CODE_LIST(V) \
@@ -77,7 +77,7 @@ class Deserializer;
V(Deoptimize) \
V(DeoptimizeLazyFromReturn) \
V(DeoptimizeLazyFromThrow) \
- V(FrameAwaitingMaterialization) \
+ V(FrameAwaitingMaterialization)
#endif // !defined(TARGET_ARCH_DBC)
@@ -144,14 +144,10 @@ class StubCode : public AllStatic {
// Returns NULL if no stub found.
static const char* NameOfStub(uword entry_point);
- // Define the shared stub code accessors.
+// Define the shared stub code accessors.
#define STUB_CODE_ACCESSOR(name) \
- static const StubEntry* name##_entry() { \
- return name##_entry_; \
- } \
- static intptr_t name##Size() { \
- return name##_entry()->Size(); \
- }
+ static const StubEntry* name##_entry() { return name##_entry_; } \
+ static intptr_t name##Size() { return name##_entry()->Size(); }
VM_STUB_CODE_LIST(STUB_CODE_ACCESSOR);
#undef STUB_CODE_ACCESSOR
@@ -171,8 +167,7 @@ class StubCode : public AllStatic {
VM_STUB_CODE_LIST(STUB_CODE_GENERATE);
#undef STUB_CODE_GENERATE
-#define STUB_CODE_ENTRY(name) \
- static StubEntry* name##_entry_;
+#define STUB_CODE_ENTRY(name) static StubEntry* name##_entry_;
VM_STUB_CODE_LIST(STUB_CODE_ENTRY);
#undef STUB_CODE_ENTRY
@@ -196,11 +191,7 @@ class StubCode : public AllStatic {
};
-enum DeoptStubKind {
- kLazyDeoptFromReturn,
- kLazyDeoptFromThrow,
- kEagerDeopt
-};
+enum DeoptStubKind { kLazyDeoptFromReturn, kLazyDeoptFromThrow, kEagerDeopt };
} // namespace dart
« no previous file with comments | « runtime/vm/store_buffer.cc ('k') | runtime/vm/stub_code.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698