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

Unified Diff: runtime/vm/constants_dbc.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/constants_arm64.h ('k') | runtime/vm/constants_ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/constants_dbc.h
diff --git a/runtime/vm/constants_dbc.h b/runtime/vm/constants_dbc.h
index 1c0d1bed97489092f687ec4c67e5446ab8af4801..cf14318121302353d2fde3020b43e6845c38ab6d 100644
--- a/runtime/vm/constants_dbc.h
+++ b/runtime/vm/constants_dbc.h
@@ -12,6 +12,7 @@
namespace dart {
+// clang-format off
// List of Dart Bytecode instructions.
//
// INTERPRETER STATE
@@ -822,7 +823,9 @@ namespace dart {
V(CheckStack, 0, ___, ___, ___) \
V(DebugStep, 0, ___, ___, ___) \
V(DebugBreak, A, num, ___, ___) \
- V(Deopt, A_D, num, num, ___) \
+ V(Deopt, A_D, num, num, ___)
+
+// clang-format on
typedef uint32_t Instr;
@@ -830,7 +833,7 @@ class Bytecode {
public:
enum Opcode {
#define DECLARE_BYTECODE(name, encoding, op1, op2, op3) k##name,
-BYTECODES_LIST(DECLARE_BYTECODE)
+ BYTECODES_LIST(DECLARE_BYTECODE)
#undef DECLARE_BYTECODE
};
@@ -868,9 +871,7 @@ BYTECODES_LIST(DECLARE_BYTECODE)
return op | (x << kAShift);
}
- static Instr Encode(Opcode op) {
- return op;
- }
+ static Instr Encode(Opcode op) { return op; }
DART_FORCE_INLINE static uint8_t DecodeA(Instr bc) {
return (bc >> kAShift) & kAMask;
« no previous file with comments | « runtime/vm/constants_arm64.h ('k') | runtime/vm/constants_ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698