代码拉取完成,页面将自动刷新
jbc2mpl used incorrect array type in a function jbc2mpl generated from OpenJDK 8 jar files
jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/DTDGrammar.java
1926 protected void setContentSpec(int contentSpecIndex, XMLContentSpec contentSpec) {
1927 int chunk = contentSpecIndex >> CHUNK_SHIFT;
1928 int index = contentSpecIndex & CHUNK_MASK;
1929
1930 fContentSpecType[chunk][index] = contentSpec.type;
1931 fContentSpecValue[chunk][index] = contentSpec.value;
1932 fContentSpecOtherValue[chunk][index] = contentSpec.otherValue;
1933 }
func &Lcom_2Fsun_2Forg_2Fapache_2Fxerces_2Finternal_2Fimpl_2Fdtd_2FDTDGrammar_3B_7CsetContentSpec_7C_28ILcom_2Fsun_2Forg_2Fapache_2Fxerces_2Finternal_2Fimpl_2Fdtd_2FXMLContentSpec_3B_29V
var %Reg0_R33542 <* <[] <* <[] i16>>>>
var %Reg0_R20092 <* <$Ljava_2Flang_2FObject_3B>>
dassign %Reg5_R45768 0 (dread ref %_this)
dassign %Reg0_R33542 0 (iread ref <* <$Lcom_2Fsun_2Forg_2Fapache_2Fxerces_2Finternal_2Fimpl_2Fdtd_2FDTDGrammar_3B>> 29 (dread ref %Reg5_R45768))
dassign %Reg0_R20092 0 (iread ref <* <* <$Ljava_2Flang_2FObject_3B>>> 0 (array 1 ptr <* <[] ref>> (dread ref %Reg0_R33542, dread i32 %Reg3_I)))
since Reg0_R33542 is a 2D array of i16, the array types in the last statement should have been something like
dassign %Reg0_R0000 0 (iread ptr <* <* <[] i16>>> 0 (array 1 ptr <* <[] <* <[] i16>>>> (dread ref %Reg0_R33542, dread i32 %Reg3_I)))
The array types in other statements are also need to be fixed, use specific types instead of ref.
登录 后才可以发表评论