Mercurial > hg > truffle
changeset 13286:a3c559c0e460
SnippetTemplates does not use assumptions any more
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 10 Dec 2013 17:34:48 +0100 |
parents | 54248131f787 |
children | 9b053d478a4e |
files | graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/SnippetTemplate.java |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/SnippetTemplate.java Thu Dec 05 17:30:54 2013 +0100 +++ b/graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/SnippetTemplate.java Tue Dec 10 17:34:48 2013 +0100 @@ -475,8 +475,7 @@ ResolvedJavaMethod method = snippetGraph.method(); Signature signature = method.getSignature(); - Assumptions assumptions = providers.getReplacements().getAssumptions(); - PhaseContext phaseContext = new PhaseContext(providers, assumptions); + PhaseContext phaseContext = new PhaseContext(providers, new Assumptions(false)); // Copy snippet graph, replacing constant parameters with given arguments final StructuredGraph snippetCopy = new StructuredGraph(snippetGraph.name, snippetGraph.method());