aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Inject.v
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-04-16 18:01:25 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-04-16 18:01:25 +0200
commit6ae48a2f079d6c420df57cb8616692c3d6cdd0ca (patch)
tree6ba77e86acfa3adfb4f82a33e9b4afec4544f647 /backend/Inject.v
parentc023775b1584399e08d05de30291e496cdd776e4 (diff)
downloadcompcert-kvx-6ae48a2f079d6c420df57cb8616692c3d6cdd0ca.tar.gz
compcert-kvx-6ae48a2f079d6c420df57cb8616692c3d6cdd0ca.zip
adapt for Icond with predicted direction
Diffstat (limited to 'backend/Inject.v')
-rw-r--r--backend/Inject.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/Inject.v b/backend/Inject.v
index 2350c149..971a5423 100644
--- a/backend/Inject.v
+++ b/backend/Inject.v
@@ -34,7 +34,7 @@ Definition successor (i : instruction) : node :=
| Istore _ _ _ _ pc' => pc'
| Icall _ _ _ _ pc' => pc'
| Ibuiltin _ _ _ pc' => pc'
- | Icond _ _ pc' _ => pc'
+ | Icond _ _ pc' _ _ => pc'
| Itailcall _ _ _
| Ijumptable _ _
| Ireturn _ => 1
@@ -47,7 +47,7 @@ Definition alter_successor (i : instruction) (pc' : node) : instruction :=
| Iload trap chunk addr args dst _ => Iload trap chunk addr args dst pc'
| Istore chunk addr args src _ => Istore chunk addr args src pc'
| Ibuiltin ef args res _ => Ibuiltin ef args res pc'
- | Icond cond args _ pc2 => Icond cond args pc' pc2
+ | Icond cond args _ pc2 expected => Icond cond args pc' pc2 expected
| Icall sig ros args res _ => Icall sig ros args res pc'
| Itailcall _ _ _
| Ijumptable _ _