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

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

Issue 13884017: Adds support for UseDartApi vm test on MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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/cpu_mips.cc ('k') | runtime/vm/flow_graph_compiler_mips.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_MIPS. 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
8 #if defined(TARGET_ARCH_MIPS) 8 #if defined(TARGET_ARCH_MIPS)
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 10
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 break; 625 break;
626 } 626 }
627 case SW: { 627 case SW: {
628 Format(instr, "sw 'rt, 'imms('rs)"); 628 Format(instr, "sw 'rt, 'imms('rs)");
629 break; 629 break;
630 } 630 }
631 case SWC1: { 631 case SWC1: {
632 Format(instr, "swc1 'ft, 'imms('rs)"); 632 Format(instr, "swc1 'ft, 'imms('rs)");
633 break; 633 break;
634 } 634 }
635 case XORI: {
636 Format(instr, "xori 'rt, 'rs, 'immu");
637 break;
638 }
635 default: { 639 default: {
636 Unknown(instr); 640 Unknown(instr);
637 break; 641 break;
638 } 642 }
639 } 643 }
640 } 644 }
641 645
642 646
643 void Disassembler::DecodeInstruction(char* hex_buffer, intptr_t hex_size, 647 void Disassembler::DecodeInstruction(char* hex_buffer, intptr_t hex_size,
644 char* human_buffer, intptr_t human_size, 648 char* human_buffer, intptr_t human_size,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 pc); 687 pc);
684 pc += instruction_length; 688 pc += instruction_length;
685 } 689 }
686 690
687 return; 691 return;
688 } 692 }
689 693
690 } // namespace dart 694 } // namespace dart
691 695
692 #endif // defined TARGET_ARCH_MIPS 696 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/cpu_mips.cc ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698