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 committed 2018-12-30 20:44:48 -05:00
1 parent fc4f95104d
commit 9dcdcdbc01
2 files changed
+2 -2

No files matched your search

+1 -1
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);