arm_interface: Make LogBacktrace() a const member function

This function doesn't modify instance state, so it can be made const.
This commit is contained in:
Lioncash 2018-12-30 20:44:46 -05:00
commit 9dcdcdbc01

View file

@ -8,7 +8,7 @@
#include "core/memory.h"
namespace Core {
void ARM_Interface::LogBacktrace() {
void ARM_Interface::LogBacktrace() const {
VAddr fp = GetReg(29);
VAddr lr = GetReg(30);
const VAddr sp = GetReg(13);