summaryrefslogtreecommitdiffstats
path: root/app/perfregisterinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/perfregisterinfo.h')
-rw-r--r--app/perfregisterinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/perfregisterinfo.h b/app/perfregisterinfo.h
index 3754073..1efdff6 100644
--- a/app/perfregisterinfo.h
+++ b/app/perfregisterinfo.h
@@ -39,7 +39,7 @@ public:
static const uint s_numAbis = 2; // maybe more for some archs?
- static const char *s_archNames[ARCH_INVALID];
+ static Architecture archByName(const QByteArray &name);
static const uint s_numRegisters[ARCH_INVALID][s_numAbis];
static const uint s_wordWidth[ARCH_INVALID][s_numAbis];
@@ -62,7 +62,7 @@ public:
static const uint s_dummyRegisters[ARCH_INVALID][2];
// default architecture for the system which was used for compilation
- static const Architecture s_defaultArchitecture;
+ static QByteArray defaultArchitecture();
};
#endif // PERFREGISTERINFO_H