aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/mcore/interp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sim/mcore/interp.c b/sim/mcore/interp.c
index 7561c44..8bfb745 100644
--- a/sim/mcore/interp.c
+++ b/sim/mcore/interp.c
@@ -332,8 +332,6 @@ step_once (SIM_DESC sd, SIM_CPU *cpu)
/* TODO: Unindent this block. */
{
- int32_t oldpc;
-
insts ++;
if (pc & 02)
@@ -408,8 +406,6 @@ step_once (SIM_DESC sd, SIM_CPU *cpu)
if (tracing)
fprintf (stderr, "%.4x: inst = %.4x ", pc, inst);
- oldpc = pc;
-
pc += 2;
switch (inst >> 8)