summaryrefslogtreecommitdiffstats
path: root/target-sparc/op_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-sparc/op_helper.c')
-rw-r--r--target-sparc/op_helper.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index 2aae955..3c04fe5 100644
--- a/target-sparc/op_helper.c
+++ b/target-sparc/op_helper.c
@@ -2629,7 +2629,6 @@ void cpu_set_cwp(CPUState *env1, int new_cwp)
if (new_cwp == (NWINDOWS - 1))
memcpy32(env1->regbase + NWINDOWS * 16, env1->regbase);
env1->regwptr = env1->regbase + (new_cwp * 16);
- REGWPTR = env1->regwptr;
}
void set_cwp(int new_cwp)
OpenPOWER on IntegriCloud