< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.amd64/src/org/graalvm/compiler/hotspot/amd64/AMD64HotSpotNodeLIRBuilder.java

Print this page




 172                         thread);
 173         append(op);
 174     }
 175 
 176     @Override
 177     public void visitFullInfopointNode(FullInfopointNode i) {
 178         if (i.getState() != null && i.getState().bci == BytecodeFrame.AFTER_BCI) {
 179             i.getDebug().log("Ignoring InfopointNode for AFTER_BCI");
 180         } else {
 181             super.visitFullInfopointNode(i);
 182         }
 183     }
 184 
 185     @Override
 186     public void visitBreakpointNode(BreakpointNode node) {
 187         JavaType[] sig = new JavaType[node.arguments().size()];
 188         for (int i = 0; i < sig.length; i++) {
 189             sig[i] = node.arguments().get(i).stamp().javaType(gen.getMetaAccess());
 190         }
 191 
 192         Value[] parameters = visitInvokeArguments(gen.getResult().getFrameMapBuilder().getRegisterConfig().getCallingConvention(HotSpotCallingConventionType.JavaCall, null, sig, gen),
 193                         node.arguments());
 194         append(new AMD64BreakpointOp(parameters));
 195     }
 196 }


 172                         thread);
 173         append(op);
 174     }
 175 
 176     @Override
 177     public void visitFullInfopointNode(FullInfopointNode i) {
 178         if (i.getState() != null && i.getState().bci == BytecodeFrame.AFTER_BCI) {
 179             i.getDebug().log("Ignoring InfopointNode for AFTER_BCI");
 180         } else {
 181             super.visitFullInfopointNode(i);
 182         }
 183     }
 184 
 185     @Override
 186     public void visitBreakpointNode(BreakpointNode node) {
 187         JavaType[] sig = new JavaType[node.arguments().size()];
 188         for (int i = 0; i < sig.length; i++) {
 189             sig[i] = node.arguments().get(i).stamp().javaType(gen.getMetaAccess());
 190         }
 191 
 192         Value[] parameters = visitInvokeArguments(gen.getRegisterConfig().getCallingConvention(HotSpotCallingConventionType.JavaCall, null, sig, gen), node.arguments());

 193         append(new AMD64BreakpointOp(parameters));
 194     }
 195 }
< prev index next >