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

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

Issue 2455983002: Small cleanups and linter fixes. (Closed)
Patch Set: Small cleanups 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 unified diff | Download patch
« no previous file with comments | « runtime/vm/cpu_x64.cc ('k') | runtime/vm/instructions_arm64.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_ARM. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
6 #if defined(TARGET_ARCH_ARM) 6 #if defined(TARGET_ARCH_ARM)
7 7
8 #include "vm/instructions.h"
9 #include "vm/instructions_arm.h"
10
8 #include "vm/assembler.h" 11 #include "vm/assembler.h"
9 #include "vm/constants_arm.h" 12 #include "vm/constants_arm.h"
10 #include "vm/cpu.h" 13 #include "vm/cpu.h"
11 #include "vm/instructions.h"
12 #include "vm/object.h" 14 #include "vm/object.h"
13 15
14 namespace dart { 16 namespace dart {
15 17
16 CallPattern::CallPattern(uword pc, const Code& code) 18 CallPattern::CallPattern(uword pc, const Code& code)
17 : object_pool_(ObjectPool::Handle(code.GetObjectPool())), 19 : object_pool_(ObjectPool::Handle(code.GetObjectPool())),
18 end_(pc), 20 end_(pc),
19 ic_data_load_end_(0), 21 ic_data_load_end_(0),
20 target_code_pool_index_(-1), 22 target_code_pool_index_(-1),
21 ic_data_(ICData::Handle()) { 23 ic_data_(ICData::Handle()) {
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 } else { 314 } else {
313 ASSERT(version == ARMv7); 315 ASSERT(version == ARMv7);
314 return bx_lr->InstructionBits() == instruction; 316 return bx_lr->InstructionBits() == instruction;
315 } 317 }
316 return false; 318 return false;
317 } 319 }
318 320
319 } // namespace dart 321 } // namespace dart
320 322
321 #endif // defined TARGET_ARCH_ARM 323 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/cpu_x64.cc ('k') | runtime/vm/instructions_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698