OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <assert.h> | 5 #include <assert.h> |
| 6 #include <stdarg.h> |
6 #include <stdio.h> | 7 #include <stdio.h> |
7 #include <stdarg.h> | |
8 | 8 |
9 #include "src/v8.h" | 9 #include "src/v8.h" |
10 | 10 |
11 #if V8_TARGET_ARCH_X64 | 11 #if V8_TARGET_ARCH_X64 |
12 | 12 |
13 #include "src/base/lazy-instance.h" | 13 #include "src/base/lazy-instance.h" |
14 #include "src/disasm.h" | 14 #include "src/disasm.h" |
15 | 15 |
16 namespace disasm { | 16 namespace disasm { |
17 | 17 |
(...skipping 1885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1903 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { | 1903 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { |
1904 fprintf(f, " "); | 1904 fprintf(f, " "); |
1905 } | 1905 } |
1906 fprintf(f, " %s\n", buffer.start()); | 1906 fprintf(f, " %s\n", buffer.start()); |
1907 } | 1907 } |
1908 } | 1908 } |
1909 | 1909 |
1910 } // namespace disasm | 1910 } // namespace disasm |
1911 | 1911 |
1912 #endif // V8_TARGET_ARCH_X64 | 1912 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |