Skip to content

Commit 6a3ee1f

Browse files
committed
[RISCV64] Build fix in RISCV64Disassembler
https://bugs.webkit.org/show_bug.cgi?id=245274 Unreviewed build fix in RISCV64Disassembler, adjusting to the adoption of WTF::CodePtr. * Source/JavaScriptCore/disassembler/RISCV64Disassembler.cpp: (JSC::tryToDisassemble): Canonical link: https://commits.webkit.org/254553@main
1 parent 435b90b commit 6a3ee1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Source/JavaScriptCore/disassembler/RISCV64Disassembler.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ CString disassembleOpcode(uint32_t *pc)
635635

636636
bool tryToDisassemble(const CodePtr<DisassemblyPtrTag>& codePtr, size_t size, void*, void*, const char* prefix, PrintStream& out)
637637
{
638-
uint32_t* currentPC = codePtr.untaggedExecutableAddress<uint32_t*>();
638+
uint32_t* currentPC = codePtr.untaggedPtr<uint32_t*>();
639639
size_t byteCount = size;
640640

641641
while (byteCount) {

0 commit comments

Comments
 (0)