| commit | 0895c9a2aedd33371c6cb8703d5fe8bb4493169b | [log] [tgz] |
|---|---|---|
| author | Derek Schuff <[email protected]> | Wed Jun 24 22:48:51 2015 |
| committer | Derek Schuff <[email protected]> | Wed Jun 24 22:48:51 2015 |
| tree | de740c9541f4e24a57f3a4f24937359a0a387219 | |
| parent | a557a573505eb0da593d98792b2680681b751c5b [diff] |
Cherrypick upstream r240600, r240601
Relax assertion in x86_64 byval argument handling for 32-bit pointers
Summary:
Byval argument pair formation assumes that if a type is less than 8 bytes
it must be an integer and not a pointer, which is not true for x32 and NaCl.
Relax the assertion and add a test for a codegen case that triggered it.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4122
[email protected]
(reviewed upstream)
Review URL: https://codereview.chromium.org/1211623004.