Mercurial > hg > truffle
comparison src/cpu/zero/vm/cppInterpreter_zero.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 | e60b3fce2b02 |
comparison
equal
deleted
inserted
replaced
8708:8196357e95b5 | 8727:0094485b46c7 |
---|---|
917 int caller_actual_parameters, | 917 int caller_actual_parameters, |
918 int callee_param_count, | 918 int callee_param_count, |
919 int callee_locals, | 919 int callee_locals, |
920 frame* caller, | 920 frame* caller, |
921 frame* interpreter_frame, | 921 frame* interpreter_frame, |
922 bool is_top_frame) { | 922 bool is_top_frame, |
923 bool is_bottom_frame) { | |
923 assert(popframe_extra_args == 0, "what to do?"); | 924 assert(popframe_extra_args == 0, "what to do?"); |
924 assert(!is_top_frame || (!callee_locals && !callee_param_count), | 925 assert(!is_top_frame || (!callee_locals && !callee_param_count), |
925 "top frame should have no caller"); | 926 "top frame should have no caller"); |
926 | 927 |
927 // This code must exactly match what InterpreterFrame::build | 928 // This code must exactly match what InterpreterFrame::build |