about summary refs log tree commit diff stats
path: root/translate_mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-06-15 10:43:46 -0700
committerKartik Agaram <vc@akkartik.com>2020-06-15 14:02:41 -0700
commit89c2b59a5f047958e4b64fa3f456b4325a435dbd (patch)
treea5b543cf370a6c68b3a5ac3106e30a529a56b1b2 /translate_mu
parent5945986cc5c743345938403d553fe9a4edf655fd (diff)
downloadmu-89c2b59a5f047958e4b64fa3f456b4325a435dbd.tar.gz
6522 - redo support for 'byte'
Before: bytes can't live on the stack, so size(byte) == 1 just for array
elements.

After: bytes mostly can't live on the stack except for function args (which
seem too useful to disallow), so size(byte) == 4 except there's now a new
primitive called element-size for array elements where size(byte) == 1.

Now apps/browse.subx starts working again.
Diffstat (limited to 'translate_mu')
0 files changed, 0 insertions, 0 deletions
a id='n109' href='#n109'>109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179