Index: runtime/vm/instructions_x64.h |
diff --git a/runtime/vm/instructions_x64.h b/runtime/vm/instructions_x64.h |
index ba86ee43e1c27455d0f2a0917b3f9f58a4de53d6..56add2e461605434501bc79282acde031f6449f8 100644 |
--- a/runtime/vm/instructions_x64.h |
+++ b/runtime/vm/instructions_x64.h |
@@ -27,11 +27,10 @@ intptr_t IndexFromPPLoadDisp8(uword start); |
// Template class for all instruction pattern classes. |
// P has to specify a static pattern and a pattern length method. |
-template<class P> class InstructionPattern : public ValueObject { |
+template <class P> |
+class InstructionPattern : public ValueObject { |
public: |
- explicit InstructionPattern(uword pc) : start_(pc) { |
- ASSERT(pc != 0); |
- } |
+ explicit InstructionPattern(uword pc) : start_(pc) { ASSERT(pc != 0); } |
// Call to check if the instruction pattern at 'pc' match the instruction. |
// 'P::pattern()' returns the expected byte pattern in form of an integer |
@@ -71,7 +70,7 @@ class ReturnPattern : public InstructionPattern<ReturnPattern> { |
explicit ReturnPattern(uword pc) : InstructionPattern(pc) {} |
static const int* pattern() { |
- static const int kReturnPattern[kLengthInBytes] = { 0xC3 }; |
+ static const int kReturnPattern[kLengthInBytes] = {0xC3}; |
return kReturnPattern; |
} |
@@ -89,8 +88,8 @@ class ProloguePattern : public InstructionPattern<ProloguePattern> { |
explicit ProloguePattern(uword pc) : InstructionPattern(pc) {} |
static const int* pattern() { |
- static const int kProloguePattern[kLengthInBytes] = |
- { 0x55, 0x48, 0x89, 0xe5 }; |
+ static const int kProloguePattern[kLengthInBytes] = {0x55, 0x48, 0x89, |
+ 0xe5}; |
return kProloguePattern; |
} |
@@ -102,14 +101,13 @@ class ProloguePattern : public InstructionPattern<ProloguePattern> { |
// mov rbp, rsp |
-class SetFramePointerPattern : |
- public InstructionPattern<SetFramePointerPattern> { |
+class SetFramePointerPattern |
+ : public InstructionPattern<SetFramePointerPattern> { |
public: |
explicit SetFramePointerPattern(uword pc) : InstructionPattern(pc) {} |
static const int* pattern() { |
- static const int kFramePointerPattern[kLengthInBytes] = |
- { 0x48, 0x89, 0xe5 }; |
+ static const int kFramePointerPattern[kLengthInBytes] = {0x48, 0x89, 0xe5}; |
return kFramePointerPattern; |
} |