What is AheadOfTimeCompilationTest supposed to do?
Andrew Haley
aph at redhat.com
Thu Feb 9 18:08:20 UTC 2017
I'm running this, and the code I generate looks much the same as the x86
code, structurally speaking. But I fail the testStaticFinalObjectAOT()
test with an assertion because
assertDeepEquals(1, getConstantNodes(result).count());
I have 3 constant nodes.
But what is being tested here? Why does the number of constant nodes
have to equal 1?
The three constant nodes I have are the static final Object and two
integers which are field offsets.
Andrew.
More information about the graal-dev
mailing list