| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 53 #ifndef WIN32 |
| 54 #include <stdint.h> | 54 #include <stdint.h> |
| 55 #endif | 55 #endif |
| 56 | 56 |
| 57 #include "v8.h" | 57 #include "v8.h" |
| 58 | 58 |
| 59 #if defined(V8_TARGET_ARCH_ARM) |
| 60 |
| 59 #include "constants-arm.h" | 61 #include "constants-arm.h" |
| 60 #include "disasm.h" | 62 #include "disasm.h" |
| 61 #include "macro-assembler.h" | 63 #include "macro-assembler.h" |
| 62 #include "platform.h" | 64 #include "platform.h" |
| 63 | 65 |
| 64 | 66 |
| 65 namespace assembler { | 67 namespace assembler { |
| 66 namespace arm { | 68 namespace arm { |
| 67 | 69 |
| 68 namespace v8i = v8::internal; | 70 namespace v8i = v8::internal; |
| (...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1349 buffer[0] = '\0'; | 1351 buffer[0] = '\0'; |
| 1350 byte* prev_pc = pc; | 1352 byte* prev_pc = pc; |
| 1351 pc += d.InstructionDecode(buffer, pc); | 1353 pc += d.InstructionDecode(buffer, pc); |
| 1352 fprintf(f, "%p %08x %s\n", | 1354 fprintf(f, "%p %08x %s\n", |
| 1353 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); | 1355 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); |
| 1354 } | 1356 } |
| 1355 } | 1357 } |
| 1356 | 1358 |
| 1357 | 1359 |
| 1358 } // namespace disasm | 1360 } // namespace disasm |
| 1361 |
| 1362 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |