mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6943304: remove tagged stack interpreter
Reviewed-by: coleenp, never, gbenson
This commit is contained in:
parent
55457c9cc7
commit
0211f9703a
51 changed files with 510 additions and 1891 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.
|
||||
* Copyright 1997-2010 Sun Microsystems, Inc. All Rights Reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -417,17 +417,9 @@ intptr_t* JavaCallArguments::parameters() {
|
|||
// Handle conversion
|
||||
_value[i] = (intptr_t)Handle::raw_resolve((oop *)_value[i]);
|
||||
}
|
||||
// The parameters are moved to the parameters array to include the tags.
|
||||
if (TaggedStackInterpreter) {
|
||||
// Tags are interspersed with arguments. Tags are first.
|
||||
int tagged_index = i*2;
|
||||
_parameters[tagged_index] = _is_oop[i] ? frame::TagReference :
|
||||
frame::TagValue;
|
||||
_parameters[tagged_index+1] = _value[i];
|
||||
}
|
||||
}
|
||||
// Return argument vector
|
||||
return TaggedStackInterpreter ? _parameters : _value;
|
||||
return _value;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue