Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/templateInterpreter_x86_64.cpp @ 8727:0094485b46c7
8009761: Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
Summary: deoptimization doesn't set up callee frames so that they restore caller frames correctly.
Reviewed-by: kvn
author | roland |
---|---|
date | Wed, 13 Mar 2013 09:44:45 +0100 |
parents | db9981fd3124 |
children | e961c11b85fe |
comparison
equal
deleted
inserted
replaced
8708:8196357e95b5 | 8727:0094485b46c7 |
---|---|
1597 int caller_actual_parameters, | 1597 int caller_actual_parameters, |
1598 int callee_param_count, | 1598 int callee_param_count, |
1599 int callee_locals, | 1599 int callee_locals, |
1600 frame* caller, | 1600 frame* caller, |
1601 frame* interpreter_frame, | 1601 frame* interpreter_frame, |
1602 bool is_top_frame) { | 1602 bool is_top_frame, |
1603 bool is_bottom_frame) { | |
1603 // Note: This calculation must exactly parallel the frame setup | 1604 // Note: This calculation must exactly parallel the frame setup |
1604 // in AbstractInterpreterGenerator::generate_method_entry. | 1605 // in AbstractInterpreterGenerator::generate_method_entry. |
1605 // If interpreter_frame!=NULL, set up the method, locals, and monitors. | 1606 // If interpreter_frame!=NULL, set up the method, locals, and monitors. |
1606 // The frame interpreter_frame, if not NULL, is guaranteed to be the | 1607 // The frame interpreter_frame, if not NULL, is guaranteed to be the |
1607 // right size, as determined by a previous call to this method. | 1608 // right size, as determined by a previous call to this method. |