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

Side by Side Diff: src/x64/assembler-x64.h

Issue 1431933003: [assembler] Introduce proper AssemblerBase::Print() for improved debuggability. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/disassembler.cc ('k') | test/cctest/test-disasm-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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1596 matching lines...) Expand 10 before | Expand all | Expand 10 after
1607 bmi2l(kF2, 0xf7, dst, src2, src1); 1607 bmi2l(kF2, 0xf7, dst, src2, src1);
1608 } 1608 }
1609 void shrxl(Register dst, const Operand& src1, Register src2) { 1609 void shrxl(Register dst, const Operand& src1, Register src2) {
1610 bmi2l(kF2, 0xf7, dst, src2, src1); 1610 bmi2l(kF2, 0xf7, dst, src2, src1);
1611 } 1611 }
1612 void rorxq(Register dst, Register src, byte imm8); 1612 void rorxq(Register dst, Register src, byte imm8);
1613 void rorxq(Register dst, const Operand& src, byte imm8); 1613 void rorxq(Register dst, const Operand& src, byte imm8);
1614 void rorxl(Register dst, Register src, byte imm8); 1614 void rorxl(Register dst, Register src, byte imm8);
1615 void rorxl(Register dst, const Operand& src, byte imm8); 1615 void rorxl(Register dst, const Operand& src, byte imm8);
1616 1616
1617 // Debugging
1618 void Print();
1619
1620 // Check the code size generated from label to here. 1617 // Check the code size generated from label to here.
1621 int SizeOfCodeGeneratedSince(Label* label) { 1618 int SizeOfCodeGeneratedSince(Label* label) {
1622 return pc_offset() - label->pos(); 1619 return pc_offset() - label->pos();
1623 } 1620 }
1624 1621
1625 // Mark generator continuation. 1622 // Mark generator continuation.
1626 void RecordGeneratorContinuation(); 1623 void RecordGeneratorContinuation();
1627 1624
1628 // Mark address of a debug break slot. 1625 // Mark address of a debug break slot.
1629 void RecordDebugBreakSlot(RelocInfo::Mode mode, int argc = 0); 1626 void RecordDebugBreakSlot(RelocInfo::Mode mode, int argc = 0);
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
2163 Assembler* assembler_; 2160 Assembler* assembler_;
2164 #ifdef DEBUG 2161 #ifdef DEBUG
2165 int space_before_; 2162 int space_before_;
2166 #endif 2163 #endif
2167 }; 2164 };
2168 2165
2169 } // namespace internal 2166 } // namespace internal
2170 } // namespace v8 2167 } // namespace v8
2171 2168
2172 #endif // V8_X64_ASSEMBLER_X64_H_ 2169 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/disassembler.cc ('k') | test/cctest/test-disasm-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698