8158639: C2 compilation fails with SIGSEGV

Fixed the jvms for callsite traps based on declared signature.

Reviewed-by: jcm, coleenp, vlivanov
4 files changed