< prev index next >

src/hotspot/share/interpreter/templateInterpreter.cpp

Print this page

        

*** 69,105 **** //------------------------------------------------------------------------------------------------------------------------ // Implementation of EntryPoint EntryPoint::EntryPoint() { ! assert(number_of_states == 11, "check the code below"); _entry[btos] = NULL; _entry[ztos] = NULL; _entry[ctos] = NULL; _entry[stos] = NULL; _entry[atos] = NULL; _entry[itos] = NULL; _entry[ltos] = NULL; _entry[ftos] = NULL; _entry[dtos] = NULL; - _entry[qtos] = NULL; _entry[vtos] = NULL; } ! EntryPoint::EntryPoint(address bentry, address zentry, address centry, address sentry, address aentry, address ientry, address lentry, address fentry, address dentry, address qentry, address ventry) { ! assert(number_of_states == 11, "check the code below"); _entry[btos] = bentry; _entry[ztos] = zentry; _entry[ctos] = centry; _entry[stos] = sentry; _entry[atos] = aentry; _entry[itos] = ientry; _entry[ltos] = lentry; _entry[ftos] = fentry; _entry[dtos] = dentry; - _entry[qtos] = qentry; _entry[vtos] = ventry; } void EntryPoint::set_entry(TosState state, address entry) { --- 69,103 ---- //------------------------------------------------------------------------------------------------------------------------ // Implementation of EntryPoint EntryPoint::EntryPoint() { ! assert(number_of_states == 10 , "check the code below"); _entry[btos] = NULL; _entry[ztos] = NULL; _entry[ctos] = NULL; _entry[stos] = NULL; _entry[atos] = NULL; _entry[itos] = NULL; _entry[ltos] = NULL; _entry[ftos] = NULL; _entry[dtos] = NULL; _entry[vtos] = NULL; } ! EntryPoint::EntryPoint(address bentry, address zentry, address centry, address sentry, address aentry, address ientry, address lentry, address fentry, address dentry, address ventry) { ! assert(number_of_states == 10, "check the code below"); _entry[btos] = bentry; _entry[ztos] = zentry; _entry[ctos] = centry; _entry[stos] = sentry; _entry[atos] = aentry; _entry[itos] = ientry; _entry[ltos] = lentry; _entry[ftos] = fentry; _entry[dtos] = dentry; _entry[vtos] = ventry; } void EntryPoint::set_entry(TosState state, address entry) {
*** 147,175 **** _table[atos][i], _table[itos][i], _table[ltos][i], _table[ftos][i], _table[dtos][i], - _table[qtos][i], _table[vtos][i] ); } void DispatchTable::set_entry(int i, EntryPoint& entry) { assert(0 <= i && i < length, "index out of bounds"); ! assert(number_of_states == 11, "check the code below"); _table[btos][i] = entry.entry(btos); _table[ztos][i] = entry.entry(ztos); _table[ctos][i] = entry.entry(ctos); _table[stos][i] = entry.entry(stos); _table[atos][i] = entry.entry(atos); _table[itos][i] = entry.entry(itos); _table[ltos][i] = entry.entry(ltos); _table[ftos][i] = entry.entry(ftos); _table[dtos][i] = entry.entry(dtos); - _table[qtos][i] = entry.entry(qtos); _table[vtos][i] = entry.entry(vtos); } bool DispatchTable::operator == (DispatchTable& y) { --- 145,171 ---- _table[atos][i], _table[itos][i], _table[ltos][i], _table[ftos][i], _table[dtos][i], _table[vtos][i] ); } void DispatchTable::set_entry(int i, EntryPoint& entry) { assert(0 <= i && i < length, "index out of bounds"); ! assert(number_of_states == 10, "check the code below"); _table[btos][i] = entry.entry(btos); _table[ztos][i] = entry.entry(ztos); _table[ctos][i] = entry.entry(ctos); _table[stos][i] = entry.entry(stos); _table[atos][i] = entry.entry(atos); _table[itos][i] = entry.entry(itos); _table[ltos][i] = entry.entry(ltos); _table[ftos][i] = entry.entry(ftos); _table[dtos][i] = entry.entry(dtos); _table[vtos][i] = entry.entry(vtos); } bool DispatchTable::operator == (DispatchTable& y) {
< prev index next >