8349180: Remove redundant initialization in ciField constructor

Reviewed-by: chagedorn
This commit is contained in:
Marc Chevalier 2025-02-18 09:25:24 +00:00 committed by Christian Hagedorn
parent 013fda1dad
commit ff05d97953

View File

@ -102,8 +102,6 @@ ciField::ciField(ciInstanceKlass* klass, int index, Bytecodes::Code bc) :
_type = ciType::make(field_type);
}
_name = (ciSymbol*)ciEnv::current(THREAD)->get_symbol(name);
// Get the field's declared holder.
//
// Note: we actually create a ciInstanceKlass for this klass,