aboutsummaryrefslogtreecommitdiffstats
path: root/backend/ForwardMoves.v
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-01-09 09:28:36 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-01-09 09:28:36 +0100
commitb4092913eceb102c52660b5e7dc9f0aefb9eb4f2 (patch)
tree6c9319042995200649b5b405cfa6acf822283092 /backend/ForwardMoves.v
parent35a17f7c9a42e654a646114aeecfbba60fd71b06 (diff)
downloadcompcert-kvx-b4092913eceb102c52660b5e7dc9f0aefb9eb4f2.tar.gz
compcert-kvx-b4092913eceb102c52660b5e7dc9f0aefb9eb4f2.zip
we still have issues with call stacks
Diffstat (limited to 'backend/ForwardMoves.v')
-rw-r--r--backend/ForwardMoves.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/ForwardMoves.v b/backend/ForwardMoves.v
index e820723c..4cc9d5bc 100644
--- a/backend/ForwardMoves.v
+++ b/backend/ForwardMoves.v
@@ -252,11 +252,11 @@ Definition apply_instr instr x :=
| Inop _
| Icond _ _ _ _
| Ijumptable _ _
- | Istore _ _ _ _ _
- | Icall _ _ _ _ _ => Some x
+ | Istore _ _ _ _ _ => Some x
| Iop Omove (src :: nil) dst _ => Some (move src dst x)
| Iop _ _ dst _
- | Iload _ _ _ _ dst _=> Some (kill dst x)
+ | Iload _ _ _ _ dst _
+ | Icall _ _ _ dst _ => Some (kill dst x)
| Ibuiltin _ _ res _ => Some (kill_builtin_res res x)
| Itailcall _ _ _ | Ireturn _ => RB.bot
end.