Mercurial > hg > truffle
comparison src/cpu/sparc/vm/frame_sparc.cpp @ 3753:cba7b5c2d53f
7045514: SPARC assembly code for JSR 292 ricochet frames
Reviewed-by: kvn, jrose
author | never |
---|---|
date | Fri, 03 Jun 2011 22:31:43 -0700 |
parents | 3cfb240033d1 |
children | 5432047c7db7 |
comparison
equal
deleted
inserted
replaced
3752:f918d6096e23 | 3753:cba7b5c2d53f |
---|---|
511 // The constructor of the sender must know whether this frame is interpreted so it can set the | 511 // The constructor of the sender must know whether this frame is interpreted so it can set the |
512 // sender's _sp_adjustment_by_callee field. An osr adapter frame was originally | 512 // sender's _sp_adjustment_by_callee field. An osr adapter frame was originally |
513 // interpreted but its pc is in the code cache (for c1 -> osr_frame_return_id stub), so it must be | 513 // interpreted but its pc is in the code cache (for c1 -> osr_frame_return_id stub), so it must be |
514 // explicitly recognized. | 514 // explicitly recognized. |
515 | 515 |
516 if (is_ricochet_frame()) return sender_for_ricochet_frame(map); | |
517 | |
516 bool frame_is_interpreted = is_interpreted_frame(); | 518 bool frame_is_interpreted = is_interpreted_frame(); |
517 if (frame_is_interpreted) { | 519 if (frame_is_interpreted) { |
518 map->make_integer_regs_unsaved(); | 520 map->make_integer_regs_unsaved(); |
519 map->shift_window(sp, younger_sp); | 521 map->shift_window(sp, younger_sp); |
520 } else if (_cb != NULL) { | 522 } else if (_cb != NULL) { |