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

Side by Side Diff: runtime/vm/instructions_x64.cc

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 unified diff | Download patch
« no previous file with comments | « runtime/vm/instructions_x64.h ('k') | runtime/vm/instructions_x64_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
7 7
8 #include "vm/instructions.h" 8 #include "vm/instructions.h"
9 #include "vm/instructions_x64.h" 9 #include "vm/instructions_x64.h"
10 10
11 #include "vm/constants_x64.h"
11 #include "vm/cpu.h" 12 #include "vm/cpu.h"
12 #include "vm/constants_x64.h"
13 #include "vm/object.h" 13 #include "vm/object.h"
14 14
15 namespace dart { 15 namespace dart {
16 16
17 bool DecodeLoadObjectFromPoolOrThread(uword pc, const Code& code, Object* obj) { 17 bool DecodeLoadObjectFromPoolOrThread(uword pc, const Code& code, Object* obj) {
18 ASSERT(code.ContainsInstructionAt(pc)); 18 ASSERT(code.ContainsInstructionAt(pc));
19 19
20 uint8_t* bytes = reinterpret_cast<uint8_t*>(pc); 20 uint8_t* bytes = reinterpret_cast<uint8_t*>(pc);
21 21
22 COMPILE_ASSERT(PP == R15); 22 COMPILE_ASSERT(PP == R15);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 uint8_t offset = *reinterpret_cast<uint8_t*>(pc + 3); 59 uint8_t offset = *reinterpret_cast<uint8_t*>(pc + 3);
60 return Thread::ObjectAtOffset(offset, obj); 60 return Thread::ObjectAtOffset(offset, obj);
61 } 61 }
62 62
63 return false; 63 return false;
64 } 64 }
65 65
66 } // namespace dart 66 } // namespace dart
67 67
68 #endif // defined TARGET_ARCH_X64 68 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/instructions_x64.h ('k') | runtime/vm/instructions_x64_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698