You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert "Do lowering of java_new as a function-level pass"
This partially reverts commit 166563f.
remove_java_new was introduced because ID_java_new represented an abstract,
unsized allocation whereas ID_allocate carried a definite size, and running
java_bytecode_convert_method on a function could change a type's size by
discovering previously-unknown fields belonging to opaque types.
However, as of e86e2a0 the sizes of types are
ascertained earlier (during java_bytecode_languaget::typecheck), and so there
is now no problem with using ID_allocate from the outset.
0 commit comments