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

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

Issue 1163803002: Cosmetic changes to tests to make it easier to concatenate them. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix snapshot-external.cc Created 5 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
« no previous file with comments | « src/arm64/deoptimizer-arm64.cc ('k') | src/arm64/frames-arm64.cc » ('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 <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" 10 #include "src/v8.h"
(...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 va_end(args); 1723 va_end(args);
1724 } 1724 }
1725 1725
1726 1726
1727 void PrintDisassembler::ProcessOutput(Instruction* instr) { 1727 void PrintDisassembler::ProcessOutput(Instruction* instr) {
1728 fprintf(stream_, "0x%016" PRIx64 " %08" PRIx32 "\t\t%s\n", 1728 fprintf(stream_, "0x%016" PRIx64 " %08" PRIx32 "\t\t%s\n",
1729 reinterpret_cast<uint64_t>(instr), instr->InstructionBits(), 1729 reinterpret_cast<uint64_t>(instr), instr->InstructionBits(),
1730 GetOutput()); 1730 GetOutput());
1731 } 1731 }
1732 1732
1733 } } // namespace v8::internal 1733 } // namespace internal
1734 } // namespace v8
1734 1735
1735 1736
1736 namespace disasm { 1737 namespace disasm {
1737 1738
1738 1739
1739 const char* NameConverter::NameOfAddress(byte* addr) const { 1740 const char* NameConverter::NameOfAddress(byte* addr) const {
1740 v8::internal::SNPrintF(tmp_buffer_, "%p", addr); 1741 v8::internal::SNPrintF(tmp_buffer_, "%p", addr);
1741 return tmp_buffer_.start(); 1742 return tmp_buffer_.start();
1742 } 1743 }
1743 1744
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1826 decoder.AppendVisitor(&disasm); 1827 decoder.AppendVisitor(&disasm);
1827 1828
1828 for (byte* pc = start; pc < end; pc += v8::internal::kInstructionSize) { 1829 for (byte* pc = start; pc < end; pc += v8::internal::kInstructionSize) {
1829 decoder.Decode(reinterpret_cast<v8::internal::Instruction*>(pc)); 1830 decoder.Decode(reinterpret_cast<v8::internal::Instruction*>(pc));
1830 } 1831 }
1831 } 1832 }
1832 1833
1833 } // namespace disasm 1834 } // namespace disasm
1834 1835
1835 #endif // V8_TARGET_ARCH_ARM64 1836 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/deoptimizer-arm64.cc ('k') | src/arm64/frames-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698