Mercurial > hg > truffle
changeset 19327:fcfd38578a00
Do not schedule virtual object nodes.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 12 Feb 2015 20:38:02 +0100 |
parents | 85b21777ce42 |
children | fcefaa7f103d |
files | graal/com.oracle.graal.phases/src/com/oracle/graal/phases/schedule/SchedulePhase.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/schedule/SchedulePhase.java Thu Feb 12 20:36:37 2015 +0100 +++ b/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/schedule/SchedulePhase.java Thu Feb 12 20:38:02 2015 +0100 @@ -449,6 +449,9 @@ if (cfg.getNodeToBlock().containsKey(node)) { return; } + if (node instanceof VirtualObjectNode) { + return; + } // PhiNodes, ProxyNodes and FixedNodes should already have been placed in blocks by // ControlFlowGraph.identifyBlocks if (node instanceof PhiNode || node instanceof ProxyNode || node instanceof FixedNode) {