| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 // | 43 // |
| 44 // The Disassembler class also has a convenience method to disassemble a block | 44 // The Disassembler class also has a convenience method to disassemble a block |
| 45 // of code into a FILE*, meaning that the above functionality could also be | 45 // of code into a FILE*, meaning that the above functionality could also be |
| 46 // achieved by just calling Disassembler::Disassemble(stdout, begin, end); | 46 // achieved by just calling Disassembler::Disassemble(stdout, begin, end); |
| 47 | 47 |
| 48 | 48 |
| 49 #include <assert.h> | 49 #include <assert.h> |
| 50 #include <stdio.h> | 50 #include <stdio.h> |
| 51 #include <stdarg.h> | 51 #include <stdarg.h> |
| 52 #include <string.h> | 52 #include <string.h> |
| 53 #ifndef WIN32 | |
| 54 #include <stdint.h> | |
| 55 #endif | |
| 56 | 53 |
| 57 #include "v8.h" | 54 #include "v8.h" |
| 58 | 55 |
| 59 #if V8_TARGET_ARCH_MIPS | 56 #if V8_TARGET_ARCH_MIPS |
| 60 | 57 |
| 61 #include "mips/constants-mips.h" | 58 #include "mips/constants-mips.h" |
| 62 #include "disasm.h" | 59 #include "disasm.h" |
| 63 #include "macro-assembler.h" | 60 #include "macro-assembler.h" |
| 64 #include "platform.h" | 61 #include "platform.h" |
| 65 | 62 |
| (...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); | 1052 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); |
| 1056 } | 1053 } |
| 1057 } | 1054 } |
| 1058 | 1055 |
| 1059 | 1056 |
| 1060 #undef UNSUPPORTED | 1057 #undef UNSUPPORTED |
| 1061 | 1058 |
| 1062 } // namespace disasm | 1059 } // namespace disasm |
| 1063 | 1060 |
| 1064 #endif // V8_TARGET_ARCH_MIPS | 1061 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |