mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8146518: Zero interpreter broken with better byte behaviours
Replaced Method::_result_type_index with Method::_result_type for better byte behaviours should be used for Zero also. Reviewed-by: roland, kvn, bdelsart, kevinw
This commit is contained in:
parent
200784d505
commit
46cb32012a
4 changed files with 5 additions and 29 deletions
|
@ -84,9 +84,6 @@ Method::Method(ConstMethod* xconst, AccessFlags access_flags) {
|
|||
NoSafepointVerifier no_safepoint;
|
||||
set_constMethod(xconst);
|
||||
set_access_flags(access_flags);
|
||||
#ifdef CC_INTERP
|
||||
set_result_index(T_VOID);
|
||||
#endif
|
||||
set_intrinsic_id(vmIntrinsics::_none);
|
||||
set_jfr_towrite(false);
|
||||
set_force_inline(false);
|
||||
|
@ -445,12 +442,6 @@ void Method::compute_size_of_parameters(Thread *thread) {
|
|||
set_size_of_parameters(asc.size() + (is_static() ? 0 : 1));
|
||||
}
|
||||
|
||||
#ifdef CC_INTERP
|
||||
void Method::set_result_index(BasicType type) {
|
||||
_result_index = Interpreter::BasicType_as_index(type);
|
||||
}
|
||||
#endif
|
||||
|
||||
BasicType Method::result_type() const {
|
||||
ResultTypeFinder rtf(signature());
|
||||
return rtf.type();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue