mirror of
https://github.com/open-goal/jak-project
synced 2026-06-01 09:48:00 -04:00
[decompiler] Small bitfield fixes (#599)
* fix a bunch of small bitfield related things * fix up test * format
This commit is contained in:
@@ -1168,7 +1168,7 @@ TEST_F(FormRegressionTest, Method4ResTag) {
|
||||
std::string expected =
|
||||
"(the-as int (if (zero? (-> arg0 inlined?))\n"
|
||||
" (* (-> arg0 elt-count) 4)\n"
|
||||
" (* (the-as uint (-> arg0 elt-count)) (-> arg0 elt-type size))\n"
|
||||
" (* (-> arg0 elt-count) (-> arg0 elt-type size))\n"
|
||||
" )\n"
|
||||
" )";
|
||||
test_with_expr(func, type, expected);
|
||||
|
||||
Reference in New Issue
Block a user