summaryrefslogtreecommitdiff
path: root/compiler/optimizing
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing')
-rw-r--r--compiler/optimizing/code_generator_riscv64.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/compiler/optimizing/code_generator_riscv64.cc b/compiler/optimizing/code_generator_riscv64.cc
index 4f591a11a1..524abe63ba 100644
--- a/compiler/optimizing/code_generator_riscv64.cc
+++ b/compiler/optimizing/code_generator_riscv64.cc
@@ -1812,17 +1812,11 @@ size_t CodeGeneratorRISCV64::RestoreFloatingPointRegister(size_t stack_index, ui
}
void CodeGeneratorRISCV64::DumpCoreRegister(std::ostream& stream, int reg) const {
- UNUSED(stream);
- UNUSED(reg);
- LOG(FATAL) << "Unimplemented";
- UNREACHABLE();
+ stream << XRegister(reg);
}
void CodeGeneratorRISCV64::DumpFloatingPointRegister(std::ostream& stream, int reg) const {
- UNUSED(stream);
- UNUSED(reg);
- LOG(FATAL) << "Unimplemented";
- UNREACHABLE();
+ stream << FRegister(reg);
}
void CodeGeneratorRISCV64::Finalize() {