Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(704)

Side by Side Diff: src/arm64/disasm-arm64.cc

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm64/disasm-arm64.h ('k') | src/arm64/frames-arm64.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stdio.h> 6 #include <stdio.h>
7 #include <stdarg.h> 7 #include <stdarg.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include "v8.h" 10 #include "src/v8.h"
11 11
12 #if V8_TARGET_ARCH_ARM64 12 #if V8_TARGET_ARCH_ARM64
13 13
14 #include "disasm.h" 14 #include "src/disasm.h"
15 #include "arm64/decoder-arm64-inl.h" 15 #include "src/arm64/decoder-arm64-inl.h"
16 #include "arm64/disasm-arm64.h" 16 #include "src/arm64/disasm-arm64.h"
17 #include "macro-assembler.h" 17 #include "src/macro-assembler.h"
18 #include "platform.h" 18 #include "src/platform.h"
19 19
20 namespace v8 { 20 namespace v8 {
21 namespace internal { 21 namespace internal {
22 22
23 23
24 Disassembler::Disassembler() { 24 Disassembler::Disassembler() {
25 buffer_size_ = 256; 25 buffer_size_ = 256;
26 buffer_ = reinterpret_cast<char*>(malloc(buffer_size_)); 26 buffer_ = reinterpret_cast<char*>(malloc(buffer_size_));
27 buffer_pos_ = 0; 27 buffer_pos_ = 0;
28 own_buffer_ = true; 28 own_buffer_ = true;
(...skipping 1794 matching lines...) Expand 10 before | Expand all | Expand 10 after
1823 decoder.AppendVisitor(&disasm); 1823 decoder.AppendVisitor(&disasm);
1824 1824
1825 for (byte* pc = start; pc < end; pc += v8::internal::kInstructionSize) { 1825 for (byte* pc = start; pc < end; pc += v8::internal::kInstructionSize) {
1826 decoder.Decode(reinterpret_cast<v8::internal::Instruction*>(pc)); 1826 decoder.Decode(reinterpret_cast<v8::internal::Instruction*>(pc));
1827 } 1827 }
1828 } 1828 }
1829 1829
1830 } // namespace disasm 1830 } // namespace disasm
1831 1831
1832 #endif // V8_TARGET_ARCH_ARM64 1832 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/disasm-arm64.h ('k') | src/arm64/frames-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698