< prev index next >

src/share/vm/oops/generateOopMap.cpp

Print this page
rev 10979 : 8140594: Various minor code improvements (compiler)

*** 1684,1694 **** void GenerateOopMap::ppdupswap(int poplen, const char *out) { CellTypeState actual[5]; assert(poplen < 5, "this must be less than length of actual vector"); // pop all arguments ! for(int i = 0; i < poplen; i++) actual[i] = pop(); // put them back char push_ch = *out++; while (push_ch != '\0') { int idx = push_ch - '1'; --- 1684,1696 ---- void GenerateOopMap::ppdupswap(int poplen, const char *out) { CellTypeState actual[5]; assert(poplen < 5, "this must be less than length of actual vector"); // pop all arguments ! for (int i = 0; i < poplen; i++) { actual[i] = pop(); } ! // Field _state is uninitialized when calling push. ! for (int i = poplen; i < 5; i++) { actual[i] = CellTypeState::uninit; } // put them back char push_ch = *out++; while (push_ch != '\0') { int idx = push_ch - '1';
< prev index next >