OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 #include <assert.h> | 50 #include <assert.h> |
51 #include <stdio.h> | 51 #include <stdio.h> |
52 #include <stdarg.h> | 52 #include <stdarg.h> |
53 #include <string.h> | 53 #include <string.h> |
54 #ifndef WIN32 | 54 #ifndef WIN32 |
55 #include <stdint.h> | 55 #include <stdint.h> |
56 #endif | 56 #endif |
57 | 57 |
58 #include "v8.h" | 58 #include "v8.h" |
59 | 59 |
| 60 #if defined(V8_TARGET_ARCH_MIPS) |
| 61 |
60 #include "constants-mips.h" | 62 #include "constants-mips.h" |
61 #include "disasm.h" | 63 #include "disasm.h" |
62 #include "macro-assembler.h" | 64 #include "macro-assembler.h" |
63 #include "platform.h" | 65 #include "platform.h" |
64 | 66 |
65 namespace assembler { | 67 namespace assembler { |
66 namespace mips { | 68 namespace mips { |
67 | 69 |
68 | 70 |
69 namespace v8i = v8::internal; | 71 namespace v8i = v8::internal; |
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 pc += d.InstructionDecode(buffer, pc); | 777 pc += d.InstructionDecode(buffer, pc); |
776 fprintf(f, "%p %08x %s\n", | 778 fprintf(f, "%p %08x %s\n", |
777 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); | 779 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); |
778 } | 780 } |
779 } | 781 } |
780 | 782 |
781 #undef UNSUPPORTED | 783 #undef UNSUPPORTED |
782 | 784 |
783 } // namespace disasm | 785 } // namespace disasm |
784 | 786 |
| 787 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |