src/share/vm/c1/c1_RangeCheckElimination.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/c1/c1_RangeCheckElimination.cpp Tue Apr 29 16:51:53 2014
--- new/src/share/vm/c1/c1_RangeCheckElimination.cpp Tue Apr 29 16:51:53 2014
*** 60,73 ****
--- 60,73 ----
_ir = ir;
_number_of_instructions = Instruction::number_of_instructions();
_optimistic = ir->compilation()->is_optimistic();
TRACE_RANGE_CHECK_ELIMINATION(
! tty->print_cr("");
tty->print_cr("Range check elimination");
ir->method()->print_name(tty);
! tty->print_cr("");
);
TRACE_RANGE_CHECK_ELIMINATION(
tty->print_cr("optimistic=%d", (int)_optimistic);
);
*** 1022,1032 ****
--- 1022,1032 ----
if ((bound->has_lower() || bound->has_upper()) && (bound->lower_instr() != phi || bound->upper_instr() != phi || bound->lower() != 0 || bound->upper() != 0)) {
TRACE_RANGE_CHECK_ELIMINATION(tty->fill_to(2*block->dominator_depth());
tty->print("i%d", phi->id());
tty->print(": ");
bound->print();
! tty->print_cr("");
);
}
});
while (!instr->as_BlockEnd()) {
*** 1037,1047 ****
--- 1037,1047 ----
if ((bound->has_lower() || bound->has_upper()) && (bound->lower_instr() != instr || bound->upper_instr() != instr || bound->lower() != 0 || bound->upper() != 0)) {
TRACE_RANGE_CHECK_ELIMINATION(tty->fill_to(2*block->dominator_depth());
tty->print("i%d", instr->id());
tty->print(": ");
bound->print();
! tty->print_cr("");
);
}
}
}
instr = instr->next();
*** 1398,1408 ****
--- 1398,1408 ----
return _lower_instr;
}
// print
void RangeCheckEliminator::Bound::print() {
! tty->print_raw("");
if (this->_lower_instr || this->_lower != min_jint) {
if (this->_lower_instr) {
tty->print("i%d", this->_lower_instr->id());
if (this->_lower > 0) {
tty->print("+%d", _lower);
src/share/vm/c1/c1_RangeCheckElimination.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File