Mercurial > hg > truffle
comparison graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/SnippetTemplate.java @ 12362:f53dc8bbb88c
refactored isReexecutable(), getKilledLocations() and canDeoptimize() out of MetaAccessProvider into ForeignCallsProvider (GRAAL-511)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sat, 12 Oct 2013 00:31:37 +0200 |
parents | bba234a1670e |
children | d72864a2886e |
comparison
equal
deleted
inserted
replaced
12361:ec57cc36371e | 12362:f53dc8bbb88c |
---|---|
433 snippetCopy.addDuplicates(snippetGraph.getNodes(), snippetGraph, snippetGraph.getNodeCount(), nodeReplacements); | 433 snippetCopy.addDuplicates(snippetGraph.getNodes(), snippetGraph, snippetGraph.getNodeCount(), nodeReplacements); |
434 | 434 |
435 Debug.dump(snippetCopy, "Before specialization"); | 435 Debug.dump(snippetCopy, "Before specialization"); |
436 if (!nodeReplacements.isEmpty()) { | 436 if (!nodeReplacements.isEmpty()) { |
437 // Do deferred intrinsification of node intrinsics | 437 // Do deferred intrinsification of node intrinsics |
438 new NodeIntrinsificationPhase(metaAccess).apply(snippetCopy); | 438 new NodeIntrinsificationPhase(providers).apply(snippetCopy); |
439 new CanonicalizerPhase(true).apply(snippetCopy, phaseContext); | 439 new CanonicalizerPhase(true).apply(snippetCopy, phaseContext); |
440 } | 440 } |
441 NodeIntrinsificationVerificationPhase.verify(snippetCopy); | 441 NodeIntrinsificationVerificationPhase.verify(snippetCopy); |
442 | 442 |
443 // Gather the template parameters | 443 // Gather the template parameters |