equal
deleted
inserted
replaced
1291 void MachEpilogNode::emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const { |
1291 void MachEpilogNode::emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const { |
1292 MacroAssembler _masm(&cbuf); |
1292 MacroAssembler _masm(&cbuf); |
1293 Compile* C = ra_->C; |
1293 Compile* C = ra_->C; |
1294 |
1294 |
1295 __ verify_thread(); |
1295 __ verify_thread(); |
|
1296 |
|
1297 if (StackReservedPages > 0 && C->has_reserved_stack_access()) { |
|
1298 __ reserved_stack_check(); |
|
1299 } |
1296 |
1300 |
1297 // If this does safepoint polling, then do it here |
1301 // If this does safepoint polling, then do it here |
1298 if(do_polling() && ra_->C->is_method_compilation()) { |
1302 if(do_polling() && ra_->C->is_method_compilation()) { |
1299 AddressLiteral polling_page(os::get_polling_page()); |
1303 AddressLiteral polling_page(os::get_polling_page()); |
1300 __ sethi(polling_page, L0); |
1304 __ sethi(polling_page, L0); |