mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
7083786: dead various dead chunks of code
Reviewed-by: iveresov, kvn
This commit is contained in:
parent
9c87ea9062
commit
fa7c124af1
24 changed files with 2 additions and 180 deletions
|
@ -752,20 +752,12 @@ void Parse::do_jsr() {
|
|||
// Handle ret bytecode
|
||||
void Parse::do_ret() {
|
||||
// Find to whom we return.
|
||||
#if 0 // %%%% MAKE THIS WORK
|
||||
Node* con = local();
|
||||
const TypePtr* tp = con->bottom_type()->isa_ptr();
|
||||
assert(tp && tp->singleton(), "");
|
||||
int return_bci = (int) tp->get_con();
|
||||
merge(return_bci);
|
||||
#else
|
||||
assert(block()->num_successors() == 1, "a ret can only go one place now");
|
||||
Block* target = block()->successor_at(0);
|
||||
assert(!target->is_ready(), "our arrival must be expected");
|
||||
profile_ret(target->flow()->start());
|
||||
int pnum = target->next_path_num();
|
||||
merge_common(target, pnum);
|
||||
#endif
|
||||
}
|
||||
|
||||
//--------------------------dynamic_branch_prediction--------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue