comparison lwasm/insn_gen.c @ 466:51bed8c8dc53

Actually check if we resolved a PCR reference before assuming 8 bits You actually need to check if an expression collapsed to an integer before assuming it is one. Otherwise, you end up assuming everything is 8 bit offsets. Oops.
author William Astle <lost@l-w.ca>
date Wed, 28 Feb 2018 23:35:12 -0700
parents 3948c874901b
children 2c1c5dd84024
comparison
equal deleted inserted replaced
465:7370a67caf7e 466:51bed8c8dc53