| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 <stdarg.h> |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 #include <string.h> | 8 #include <string.h> |
| 9 | 9 |
| 10 #include "src/v8.h" | |
| 11 | |
| 12 #if V8_TARGET_ARCH_ARM64 | 10 #if V8_TARGET_ARCH_ARM64 |
| 13 | 11 |
| 14 #include "src/arm64/decoder-arm64-inl.h" | 12 #include "src/arm64/decoder-arm64-inl.h" |
| 15 #include "src/arm64/disasm-arm64.h" | 13 #include "src/arm64/disasm-arm64.h" |
| 16 #include "src/base/platform/platform.h" | 14 #include "src/base/platform/platform.h" |
| 17 #include "src/disasm.h" | 15 #include "src/disasm.h" |
| 18 #include "src/macro-assembler.h" | 16 #include "src/macro-assembler.h" |
| 19 | 17 |
| 20 namespace v8 { | 18 namespace v8 { |
| 21 namespace internal { | 19 namespace internal { |
| (...skipping 1786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1808 decoder.AppendVisitor(&disasm); | 1806 decoder.AppendVisitor(&disasm); |
| 1809 | 1807 |
| 1810 for (byte* pc = start; pc < end; pc += v8::internal::kInstructionSize) { | 1808 for (byte* pc = start; pc < end; pc += v8::internal::kInstructionSize) { |
| 1811 decoder.Decode(reinterpret_cast<v8::internal::Instruction*>(pc)); | 1809 decoder.Decode(reinterpret_cast<v8::internal::Instruction*>(pc)); |
| 1812 } | 1810 } |
| 1813 } | 1811 } |
| 1814 | 1812 |
| 1815 } // namespace disasm | 1813 } // namespace disasm |
| 1816 | 1814 |
| 1817 #endif // V8_TARGET_ARCH_ARM64 | 1815 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |