mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7079317: Incorrect branch's destination block in PrintoOptoAssembly output
Save/restore label and block in scratch_emit_size() Reviewed-by: never
This commit is contained in:
parent
134c40b4db
commit
080f790edc
11 changed files with 84 additions and 85 deletions
|
@ -389,12 +389,6 @@ int MachNode::operand_index( uint operand ) const {
|
|||
}
|
||||
|
||||
|
||||
//------------------------------negate-----------------------------------------
|
||||
// Negate conditional branches. Error for non-branch Nodes
|
||||
void MachNode::negate() {
|
||||
ShouldNotCallThis();
|
||||
}
|
||||
|
||||
//------------------------------peephole---------------------------------------
|
||||
// Apply peephole rule(s) to this instruction
|
||||
MachNode *MachNode::peephole( Block *block, int block_index, PhaseRegAlloc *ra_, int &deleted, Compile* C ) {
|
||||
|
@ -407,12 +401,6 @@ void MachNode::add_case_label( int index_num, Label* blockLabel) {
|
|||
ShouldNotCallThis();
|
||||
}
|
||||
|
||||
//------------------------------label_set--------------------------------------
|
||||
// Set the Label for a LabelOper, if an operand for this instruction
|
||||
void MachNode::label_set( Label* label, uint block_num ) {
|
||||
ShouldNotCallThis();
|
||||
}
|
||||
|
||||
//------------------------------method_set-------------------------------------
|
||||
// Set the absolute address of a method
|
||||
void MachNode::method_set( intptr_t addr ) {
|
||||
|
@ -517,6 +505,9 @@ void MachNullCheckNode::emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const {
|
|||
void MachNullCheckNode::label_set(Label* label, uint block_num) {
|
||||
// Nothing to emit
|
||||
}
|
||||
void MachNullCheckNode::save_label( Label** label, uint* block_num ) {
|
||||
// Nothing to emit
|
||||
}
|
||||
|
||||
const RegMask &MachNullCheckNode::in_RegMask( uint idx ) const {
|
||||
if( idx == 0 ) return RegMask::Empty;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue