< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.aarch64/src/org/graalvm/compiler/hotspot/aarch64/AArch64HotSpotNodeLIRBuilder.java

Print this page




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


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

 187         append(new AArch64BreakpointOp(parameters));
 188     }
 189 }
< prev index next >