8024069: replace_in_map() should operate on parent maps

Type information gets lost because replace_in_map() doesn't update parent maps

Reviewed-by: kvn, twisti
This commit is contained in:
Roland Westrelin 2013-10-19 12:16:43 +02:00
parent 801b3e680e
commit 3f8ae3e9b9
17 changed files with 210 additions and 123 deletions

View file

@ -381,8 +381,8 @@ void Parse::load_interpreter_state(Node* osr_buf) {
//------------------------------Parse------------------------------------------
// Main parser constructor.
Parse::Parse(JVMState* caller, ciMethod* parse_method, float expected_uses)
: _exits(caller)
Parse::Parse(JVMState* caller, ciMethod* parse_method, float expected_uses, Parse* parent)
: _exits(caller), _parent(parent)
{
// Init some variables
_caller = caller;