checkSnippetKills

Deneau, Tom tom.deneau at amd.com
Wed Mar 26 19:27:19 UTC 2014


I have a snippet for NewInstance that works but I wanted to increment a snippet counter on one of the paths thru the snippet.  After doing that and using -G:+SnippetCounters, I get the following error:

java.lang.AssertionError: snippet graph contains a kill to ANY_LOCATION, but replacee (333|NewInstance) doesn't kill ANY_LOCATION.  kills: [ANY_LOCATION, Initialization]
	at com.oracle.graal.replacements.SnippetTemplate.checkSnippetKills(SnippetTemplate.java:946)

How should this be corrected?

-- Tom



More information about the graal-dev mailing list