comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/DefaultHotSpotLoweringProvider.java @ 18699:08b17b738500

Add hooks for verifying heap from generated code
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 16 Dec 2014 13:36:16 -0800
parents d138867d61c4
children ab9d3ff6829b
comparison
equal deleted inserted replaced
18698:abd10b6ef99d 18699:08b17b738500
135 } 135 }
136 } else if (n instanceof DynamicNewArrayNode) { 136 } else if (n instanceof DynamicNewArrayNode) {
137 if (graph.getGuardsStage() == StructuredGraph.GuardsStage.AFTER_FSA) { 137 if (graph.getGuardsStage() == StructuredGraph.GuardsStage.AFTER_FSA) {
138 newObjectSnippets.lower((DynamicNewArrayNode) n, registers, tool); 138 newObjectSnippets.lower((DynamicNewArrayNode) n, registers, tool);
139 } 139 }
140 } else if (n instanceof VerifyHeapNode) {
141 if (graph.getGuardsStage() == StructuredGraph.GuardsStage.AFTER_FSA) {
142 newObjectSnippets.lower((VerifyHeapNode) n, registers, runtime, tool);
143 }
140 } else if (n instanceof MonitorEnterNode) { 144 } else if (n instanceof MonitorEnterNode) {
141 if (graph.getGuardsStage() == StructuredGraph.GuardsStage.AFTER_FSA) { 145 if (graph.getGuardsStage() == StructuredGraph.GuardsStage.AFTER_FSA) {
142 monitorSnippets.lower((MonitorEnterNode) n, registers, tool); 146 monitorSnippets.lower((MonitorEnterNode) n, registers, tool);
143 } 147 }
144 } else if (n instanceof MonitorExitNode) { 148 } else if (n instanceof MonitorExitNode) {