Mercurial > hg > truffle
view make/bsd/platform_i486 @ 12783:89fbf495e589
HSAIL: fix some assert logic in the argument-gathering code that shows up in non-product builds
Contributed-by: Tom Deneau <tom.deneau@amd.com>
Summary:
* computes parameter_count based on signature and uses that and parameter_index (set by the SignatureIterator) to tell if we are on the last parameter, which requires special handling whether it is an int or an object.
* if signature says last parameter is an Object, checks that the real passed in parameter is an Object Array, but for non last-parameters, lets objects go thru.
* if signature says last parameter is an int, nothing is pushed (no change to this logic)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 20 Nov 2013 01:11:10 +0100 |
parents | f08d439fab8c |
children |
line wrap: on
line source
os_family = bsd arch = x86 arch_model = x86_32 os_arch = bsd_x86 os_arch_model = bsd_x86_32 lib_arch = i386 compiler = gcc sysdefs = -D_ALLBSD_SOURCE -D_GNU_SOURCE -DIA32