src/cpu/zero/vm/sharedRuntime_zero.cpp

Print this page
rev 5186 : 8024342: PPC64 (part 111): Support for C calling conventions that require 64-bit ints.
Summary: Some platforms, as ppc and s390x/zArch require that 32-bit ints are passed as 64-bit values to C functions. This change adds support to adapt the signature and to issue proper casts to c2-compiled stubs. The functions are used in generate_native_wrapper(). Adapt signature in PhaseIdealLoop::intrinsify_fill().

*** 137,141 **** --- 137,146 ---- VMRegPair *regs, int total_args_passed) { ShouldNotCallThis(); return 0; } + + // Do we need to convert ints to longs for c calls? + bool SharedRuntime::c_calling_convention_requires_ints_as_longs() { + ShouldNotCallThis(); + }