#include "host_generic_regs.h"
#include "host_arm_defs.h"
-UInt arm_hwcaps = 0;
+static UInt arm_hwcaps;
/* --------- Registers. --------- */
vassert(mode64 == False);
vassert(0 == (((HWord)buf) & 3));
+ arm_hwcaps = archinfo_host->hwcaps;
+
switch (i->tag) {
case ARMin_Alu: {
UInt instr, subopc;
#include "libvex.h" // VexArch
#include "host_generic_regs.h" // HReg
-extern UInt arm_hwcaps;
-
-
/* --------- Registers. --------- */
#define ST_IN static inline
/* guard against unexpected space regressions */
vassert(sizeof(ARMInstr) <= 28);
- /* hwcaps should not change from one ISEL call to another. */
- arm_hwcaps = hwcaps_host; // JRS 2012 Mar 31: FIXME (RM)
-
/* Make up an initial environment to use. */
env = LibVEX_Alloc_inline(sizeof(ISelEnv));
env->vreg_ctr = 0;