commit | bdbe40235bc8c48d69bf5dbb669c99f3ef7a1a31 | [log] [tgz] |
---|---|---|
author | Jan Voung <jvoung@chromium.org> | Tue Jun 17 17:12:26 2014 -0700 |
committer | Jan Voung <jvoung@chromium.org> | Tue Jun 17 17:12:26 2014 -0700 |
tree | 306bc36f126ca6570cff08f622cb7d646739fdd1 | |
parent | 44712d15c3bb7b502f0453deb1d278a3cc3efb1f [diff] |
Change some tests to be valid PNaCl IR (parameter type from i1 -> i32). Change the i1 zeroext parameter to an explicit zext and i32. Add an assert in lowerCall that the type is at least 32-bits. I ended up putting the assert in lowerCall instead of InstX8632Push, since technically there are quite a few modes that push allows: 16-bit reg/mem (just not 8-bit reg/mem) and 8/16/32 bit constants. BUG=none R=stichnot@chromium.org Review URL: https://codereview.chromium.org/339933004