mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8041415: remove port.{cpp,hpp} files
Hotspot should use standard headers and types Reviewed-by: coleenp, kvn
This commit is contained in:
parent
eddb53ffb9
commit
adcde492fa
34 changed files with 120 additions and 497 deletions
|
@ -405,9 +405,9 @@ bool Parse::create_jump_tables(Node* key_val, SwitchRange* lo, SwitchRange* hi)
|
|||
|
||||
bool needs_guard = false;
|
||||
int default_dest;
|
||||
int64 total_outlier_size = 0;
|
||||
int64 hi_size = ((int64)hi->hi()) - ((int64)hi->lo()) + 1;
|
||||
int64 lo_size = ((int64)lo->hi()) - ((int64)lo->lo()) + 1;
|
||||
int64_t total_outlier_size = 0;
|
||||
int64_t hi_size = ((int64_t)hi->hi()) - ((int64_t)hi->lo()) + 1;
|
||||
int64_t lo_size = ((int64_t)lo->hi()) - ((int64_t)lo->lo()) + 1;
|
||||
|
||||
if (lo->dest() == hi->dest()) {
|
||||
total_outlier_size = hi_size + lo_size;
|
||||
|
@ -429,7 +429,7 @@ bool Parse::create_jump_tables(Node* key_val, SwitchRange* lo, SwitchRange* hi)
|
|||
}
|
||||
|
||||
// Find the total number of cases and ranges
|
||||
int64 num_cases = ((int64)hi->hi()) - ((int64)lo->lo()) + 1;
|
||||
int64_t num_cases = ((int64_t)hi->hi()) - ((int64_t)lo->lo()) + 1;
|
||||
int num_range = hi - lo + 1;
|
||||
|
||||
// Don't create table if: too large, too small, or too sparse.
|
||||
|
@ -473,7 +473,7 @@ bool Parse::create_jump_tables(Node* key_val, SwitchRange* lo, SwitchRange* hi)
|
|||
// These are the switch destinations hanging off the jumpnode
|
||||
int i = 0;
|
||||
for (SwitchRange* r = lo; r <= hi; r++) {
|
||||
for (int64 j = r->lo(); j <= r->hi(); j++, i++) {
|
||||
for (int64_t j = r->lo(); j <= r->hi(); j++, i++) {
|
||||
Node* input = _gvn.transform(new (C) JumpProjNode(jtn, i, r->dest(), (int)(j - lowval)));
|
||||
{
|
||||
PreserveJVMState pjvms(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue