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

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

Issue 23072026: fix cpp11 compile errors (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/disassembler_ia32.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/disassembler.h" 5 #include "vm/disassembler.h"
6 6
7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
8 #if defined(TARGET_ARCH_ARM) 8 #if defined(TARGET_ARCH_ARM)
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 10
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 PrintCondition(instr); 421 PrintCondition(instr);
422 return 4; 422 return 4;
423 } 423 }
424 case 'd': { 424 case 'd': {
425 if (format[1] == 'e') { // 'dest: branch destination 425 if (format[1] == 'e') { // 'dest: branch destination
426 ASSERT(STRING_STARTS_WITH(format, "dest")); 426 ASSERT(STRING_STARTS_WITH(format, "dest"));
427 int off = (instr->SImmed24Field() << 2) + 8; 427 int off = (instr->SImmed24Field() << 2) + 8;
428 uword destination = reinterpret_cast<uword>(instr) + off; 428 uword destination = reinterpret_cast<uword>(instr) + off;
429 buffer_pos_ += OS::SNPrint(current_position_in_buffer(), 429 buffer_pos_ += OS::SNPrint(current_position_in_buffer(),
430 remaining_size_in_buffer(), 430 remaining_size_in_buffer(),
431 "%#"Px"", 431 "%#" Px "",
432 destination); 432 destination);
433 return 4; 433 return 4;
434 } else { 434 } else {
435 return FormatDRegister(instr, format); 435 return FormatDRegister(instr, format);
436 } 436 }
437 } 437 }
438 case 'q': { 438 case 'q': {
439 return FormatQRegister(instr, format); 439 return FormatQRegister(instr, format);
440 } 440 }
441 case 'i': { // 'imm12_4, imm4_12, immf, or immd 441 case 'i': { // 'imm12_4, imm4_12, immf, or immd
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after
1516 human_buffer, 1516 human_buffer,
1517 sizeof(human_buffer), 1517 sizeof(human_buffer),
1518 pc); 1518 pc);
1519 pc += instruction_length; 1519 pc += instruction_length;
1520 } 1520 }
1521 } 1521 }
1522 1522
1523 } // namespace dart 1523 } // namespace dart
1524 1524
1525 #endif // defined TARGET_ARCH_ARM 1525 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/disassembler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698