src/share/vm/adlc/formssel.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/adlc/formssel.cpp Mon Aug 15 17:13:56 2011
--- new/src/share/vm/adlc/formssel.cpp Mon Aug 15 17:13:55 2011
*** 338,353 ****
--- 338,352 ----
if( _matrule == NULL ) return false;
return _matrule->is_ideal_jump();
}
! // Return 'true' if instruction matches ideal 'If' | 'Goto' | 'CountedLoopEnd'
// 'CountedLoopEnd' | 'Jump'
bool InstructForm::is_ideal_branch() const {
if( _matrule == NULL ) return false;
- return _matrule->is_ideal_if() || _matrule->is_ideal_goto() || _matrule->is_ideal_jump();
}
// Return 'true' if this instruction matches an ideal 'Return' node
bool InstructForm::is_ideal_return() const {
*** 381,391 ****
--- 380,390 ----
}
bool InstructForm::is_ideal_control() const {
if ( ! _matrule) return false;
! return is_ideal_return() || is_ideal_branch() || _matrule->is_ideal_jump() || is_ideal_halt();
}
// Return 'true' if this instruction matches an ideal 'Call' node
Form::CallType InstructForm::is_ideal_call() const {
if( _matrule == NULL ) return Form::invalid_type;
src/share/vm/adlc/formssel.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File