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

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

Issue 306483005: - Use isolate where it is appropriate. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_ARM64. 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64.
8 #if defined(TARGET_ARCH_ARM64) 8 #if defined(TARGET_ARCH_ARM64)
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 10
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 dest); 533 dest);
534 } 534 }
535 return 5; 535 return 5;
536 } 536 }
537 case 'r': { 537 case 'r': {
538 return FormatRegister(instr, format); 538 return FormatRegister(instr, format);
539 } 539 }
540 case 'v': { 540 case 'v': {
541 if (format[1] == 's') { 541 if (format[1] == 's') {
542 ASSERT(STRING_STARTS_WITH(format, "vsz")); 542 ASSERT(STRING_STARTS_WITH(format, "vsz"));
543 char const* sz_str; 543 char const* sz_str = NULL;
544 if (instr->Bits(14, 2) == 3) { 544 if (instr->Bits(14, 2) == 3) {
545 switch (instr->Bit(22)) { 545 switch (instr->Bit(22)) {
546 case 0: sz_str = "s"; break; 546 case 0: sz_str = "s"; break;
547 case 1: sz_str = "d"; break; 547 case 1: sz_str = "d"; break;
548 default: UNREACHABLE(); break; 548 default: UNREACHABLE(); break;
549 } 549 }
550 } else { 550 } else {
551 switch (instr->Bit(22)) { 551 switch (instr->Bit(22)) {
552 case 0: sz_str = "w"; break; 552 case 0: sz_str = "w"; break;
553 case 1: sz_str = "x"; break; 553 case 1: sz_str = "x"; break;
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 human_buffer, 1344 human_buffer,
1345 sizeof(human_buffer), 1345 sizeof(human_buffer),
1346 pc); 1346 pc);
1347 pc += instruction_length; 1347 pc += instruction_length;
1348 } 1348 }
1349 } 1349 }
1350 1350
1351 } // namespace dart 1351 } // namespace dart
1352 1352
1353 #endif // defined TARGET_ARCH_ARM 1353 #endif // defined TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698