parse: fix loadw when assigned to l temporary
commitbb16529b34a844c6e15f8837950585761122106e
authorMichael Forney <mforney@mforney.org>
Tue, 14 Sep 2021 20:49:26 +0000 (14 13:49 -0700)
committerQuentin Carbonneaux <quentin@c9x.me>
Mon, 20 Sep 2021 07:10:10 +0000 (20 09:10 +0200)
treef676f1e5c327b52296510b9cd2bd0f20212363a3
parent52c8eb48ee86c8fd0e44570c31c7de28dea63cf3
parse: fix loadw when assigned to l temporary

The documentation states that loadw is syntactic sugar for loadsw,
but it actually got parsed as Oload. If the result is an l temporary,
Oload behaves like Oloadl, not Oloadsw.

To fix this, parse Tloadw as Oloadsw explicitly.
parse.c