diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-12-31 17:00:05 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-12-31 17:00:05 +0000 |
commit | 835db8f7965eb27292a4f3d4a60a47fccb30d8b2 (patch) | |
tree | 9dd6df0d06682c14470bfd9bcb6edb0accd76acf | |
parent | 069fd98950440119fef047c09e8816e1e1601319 (diff) |
7l: dont dump constant-pool in the middle of switch/case jump table
-rw-r--r-- | sys/src/cmd/7l/span.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/7l/span.c b/sys/src/cmd/7l/span.c index ff9b38ff0..20492cba4 100644 --- a/sys/src/cmd/7l/span.c +++ b/sys/src/cmd/7l/span.c @@ -163,7 +163,7 @@ checkpool(Prog *p, int skip) { if(pool.size >= 0xffff0 || !ispcdisp(p->pc+4+pool.size - pool.start+8)) flushpool(p, skip); - else if(p->link == P) + else if(p->link == P || p->link->as == ACASE) flushpool(p, 2); } |