Mercurial > hg > truffle
view GRAAL_AUTHORS @ 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 | e4019a78c938 |
children |
line wrap: on
line source
Gilles Duboscq (gdub) Peter Hofer Christian Haeubl (chaeubl) Christian Humer (chumer) Roland Schatz Doug Simon (dnsimon) Lukas Stadler (lstadler) Alexander Stipsits Katrin Strassl Christian Wimmer (cwimmer) Andreas Woess (aw) Thomas Wuerthinger (thomaswue)