src/cpu/sparc/vm/sharedRuntime_sparc.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/cpu/sparc/vm/sharedRuntime_sparc.cpp Thu Feb 18 15:25:02 2016
--- new/src/cpu/sparc/vm/sharedRuntime_sparc.cpp Thu Feb 18 15:25:01 2016
*** 321,330 ****
--- 321,340 ----
// Note, MaxVectorSize == 8 on SPARC.
assert(size <= 8, "%d bytes vectors are not supported", size);
return size > 8;
}
+ size_t SharedRuntime::trampoline_size() {
+ return 40;
+ }
+
+ void SharedRuntime::generate_trampoline(MacroAssembler *masm, address destination) {
+ __ set((intptr_t)destination, G3_scratch);
+ __ JMP(G3_scratch, 0);
+ __ delayed()->nop();
+ }
+
// The java_calling_convention describes stack locations as ideal slots on
// a frame with no abi restrictions. Since we must observe abi restrictions
// (like the placement of the register window) the slots must be biased by
// the following value.
static int reg2offset(VMReg r) {
src/cpu/sparc/vm/sharedRuntime_sparc.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File