src/share/vm/opto/parse2.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/opto/parse2.cpp	Thu Oct  3 22:30:46 2013
--- new/src/share/vm/opto/parse2.cpp	Thu Oct  3 22:30:46 2013

*** 266,276 **** --- 266,276 ---- } bool adjoin(jint value, int dest, int table_index) { return adjoinRange(value, value, dest, table_index); } - void print(ciEnv* env) { if (is_singleton()) tty->print(" {%d}=>%d", lo(), dest()); else if (lo() == min_jint) tty->print(" {..%d}=>%d", hi(), dest()); else if (hi() == max_jint)
*** 469,480 **** --- 469,480 ---- Node* jtn = _gvn.transform( new (C) JumpNode(control(), key_val, num_cases) ); // 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++) { ! Node* input = _gvn.transform(new (C) JumpProjNode(jtn, i, r->dest(), j - lowval)); ! Node* input = _gvn.transform(new (C) JumpProjNode(jtn, i, r->dest(), (int)(j - lowval))); { PreserveJVMState pjvms(this); set_control(input); jump_if_always_fork(r->dest(), r->table_index()); }
*** 630,640 **** --- 630,640 ---- if (_max_switch_depth > _est_switch_depth) { tty->print_cr("******** BAD SWITCH DEPTH ********"); } tty->print(" "); for( r = lo; r <= hi; r++ ) { - r->print(env()); } tty->print_cr(""); } #endif }

src/share/vm/opto/parse2.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File