Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/swt-dup/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


surprisingly, a duplicate case can cause 5c to loop generating
instructions until memory runs out. better to stop cc/pswt.c once
the case is known to be wrong.
it doesn't cause 8c to fail because it doesn't do the direct case
the same way
		while(q->val != v) {
			nextpc();
			p->as = ABCASE;
			patch(p, def);
			v++;
		}
and the subsequent v++ for the next case doesn't expect a matching pair of q->val.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.