Mercurial > hg > truffle
comparison src/share/vm/runtime/vframeArray.cpp @ 4980:1c7c5be93e84
More diff vs hsx24 clean up.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 21:49:51 +0100 |
parents | 07bcee8b70a4 |
children | 86478955e54c |
comparison
equal
deleted
inserted
replaced
4979:18a5539bf19b | 4980:1c7c5be93e84 |
---|---|
125 } | 125 } |
126 } | 126 } |
127 | 127 |
128 // Now the expressions off-stack | 128 // Now the expressions off-stack |
129 // Same silliness as above | 129 // Same silliness as above |
130 | |
130 StackValueCollection *exprs = vf->expressions(); | 131 StackValueCollection *exprs = vf->expressions(); |
131 _expressions = new StackValueCollection(exprs->size()); | 132 _expressions = new StackValueCollection(exprs->size()); |
132 for(index = 0; index < exprs->size(); index++) { | 133 for(index = 0; index < exprs->size(); index++) { |
133 StackValue* value = exprs->at(index); | 134 StackValue* value = exprs->at(index); |
134 switch(value->type()) { | 135 switch(value->type()) { |
315 // Unpack expression stack | 316 // Unpack expression stack |
316 // If this is an intermediate frame (i.e. not top frame) then this | 317 // If this is an intermediate frame (i.e. not top frame) then this |
317 // only unpacks the part of the expression stack not used by callee | 318 // only unpacks the part of the expression stack not used by callee |
318 // as parameters. The callee parameters are unpacked as part of the | 319 // as parameters. The callee parameters are unpacked as part of the |
319 // callee locals. | 320 // callee locals. |
320 for(int i = 0; i < expressions()->size(); i++) { | 321 int i; |
322 for(i = 0; i < expressions()->size(); i++) { | |
321 StackValue *value = expressions()->at(i); | 323 StackValue *value = expressions()->at(i); |
322 intptr_t* addr = iframe()->interpreter_frame_expression_stack_at(i); | 324 intptr_t* addr = iframe()->interpreter_frame_expression_stack_at(i); |
323 switch(value->type()) { | 325 switch(value->type()) { |
324 case T_INT: | 326 case T_INT: |
325 *addr = value->get_int(); | 327 *addr = value->get_int(); |
352 } | 354 } |
353 } | 355 } |
354 | 356 |
355 | 357 |
356 // Unpack the locals | 358 // Unpack the locals |
357 for(int i = 0; i < locals()->size(); i++) { | 359 for(i = 0; i < locals()->size(); i++) { |
358 StackValue *value = locals()->at(i); | 360 StackValue *value = locals()->at(i); |
359 intptr_t* addr = iframe()->interpreter_frame_local_at(i); | 361 intptr_t* addr = iframe()->interpreter_frame_local_at(i); |
360 switch(value->type()) { | 362 switch(value->type()) { |
361 case T_INT: | 363 case T_INT: |
362 *addr = value->get_int(); | 364 *addr = value->get_int(); |