comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotResolvedJavaMethod.java @ 9013:3b0ec709827c

added macro substitutions for the @PolymorphicSignature methods in MethodHandle
author Doug Simon <doug.simon@oracle.com>
date Thu, 11 Apr 2013 23:43:45 +0200
parents da5140eedfa1
children d24955427b0b
comparison
equal deleted inserted replaced
9012:2979aaac95af 9013:3b0ec709827c
360 if (speculationLog == null) { 360 if (speculationLog == null) {
361 speculationLog = new SpeculationLog(); 361 speculationLog = new SpeculationLog();
362 } 362 }
363 return speculationLog; 363 return speculationLog;
364 } 364 }
365
366 public int intrinsicId() {
367 HotSpotVMConfig config = HotSpotGraalRuntime.getInstance().getConfig();
368 return unsafe.getByte(metaspaceMethod + config.methodIntrinsicIdOffset) & 0xff;
369 }
365 } 370 }