mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8140594: Various minor code improvements (compiler)
Various minor code improvements (compiler) Reviewed-by: thartmann, kvn
This commit is contained in:
parent
96c4dc3210
commit
1e4b00b1dc
19 changed files with 77 additions and 56 deletions
|
@ -1678,8 +1678,14 @@ 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();
|
||||
// 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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue