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

Side by Side Diff: runtime/vm/instructions_mips.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/instructions_ia32.cc ('k') | runtime/vm/instructions_x64.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_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
7 7
8 #include "vm/instructions.h"
9 #include "vm/instructions_mips.h"
10
8 #include "vm/constants_mips.h" 11 #include "vm/constants_mips.h"
9 #include "vm/cpu.h" 12 #include "vm/cpu.h"
10 #include "vm/instructions.h"
11 #include "vm/object.h" 13 #include "vm/object.h"
12 14
13 namespace dart { 15 namespace dart {
14 16
15 CallPattern::CallPattern(uword pc, const Code& code) 17 CallPattern::CallPattern(uword pc, const Code& code)
16 : object_pool_(ObjectPool::Handle(code.GetObjectPool())), 18 : object_pool_(ObjectPool::Handle(code.GetObjectPool())),
17 end_(pc), 19 end_(pc),
18 ic_data_load_end_(0), 20 ic_data_load_end_(0),
19 target_code_pool_index_(-1), 21 target_code_pool_index_(-1),
20 ic_data_(ICData::Handle()) { 22 ic_data_(ICData::Handle()) {
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 bool ReturnPattern::IsValid() const { 272 bool ReturnPattern::IsValid() const {
271 Instr* jr = Instr::At(pc_); 273 Instr* jr = Instr::At(pc_);
272 return (jr->OpcodeField() == SPECIAL) && 274 return (jr->OpcodeField() == SPECIAL) &&
273 (jr->FunctionField() == JR) && 275 (jr->FunctionField() == JR) &&
274 (jr->RsField() == RA); 276 (jr->RsField() == RA);
275 } 277 }
276 278
277 } // namespace dart 279 } // namespace dart
278 280
279 #endif // defined TARGET_ARCH_MIPS 281 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/instructions_ia32.cc ('k') | runtime/vm/instructions_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698