This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
We just need to implement a static assignability check here for the !flag_indirect_dispatch case. This turns out to be pretty easy:Ranjit> The attached patch proposes to switch GCJ to use the new Ranjit> verifier.
I think this isn't safe, because vfy_is_assignable_from assumes that
we are generating type assertions. With the C++ ABI, this is not the
case.
Also, I suspect that the new verifier generates typemaps that requireAndrew may correct me, but I don't recall anything we did for the new verifier that will be incompatible with the C++ ABI. It does seem to work ok on my (very brief) testing. It would be nice to get rid of the old verifier - there's no point keeping it around if the new one can be made to work.
special treatment by subsequent code-generation passes. There are
hacks in place for this, but I'm not sure they work when compiling
with the C++ ABI.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |