mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8204195: Clean up macroAssembler.inline.hpp and other inline.hpp files included in .hpp files
Moved macroAssembler.inline.hpp out of header file and distributed to .cpp files that included them: ie. c1_MacroAssembler.hpp and interp_masm.hpp. Also freeList.inline.hpp and allocation.inline.hpp. Reviewed-by: jiangli, kvn
This commit is contained in:
parent
fc1be4c573
commit
03702fb256
53 changed files with 73 additions and 55 deletions
|
@ -3338,6 +3338,12 @@ SkipIfEqual::~SkipIfEqual() {
|
|||
_masm->bind(_label);
|
||||
}
|
||||
|
||||
void MacroAssembler::bang_stack_with_offset(int offset) {
|
||||
// stack grows down, caller passes positive offset
|
||||
assert(offset > 0, "must bang with negative offset");
|
||||
set((-offset)+STACK_BIAS, G3_scratch);
|
||||
st(G0, SP, G3_scratch);
|
||||
}
|
||||
|
||||
// Writes to stack successive pages until offset reached to check for
|
||||
// stack overflow + shadow pages. This clobbers tsp and scratch.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue