Mercurial > hg > graal-jvmci-8
comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotTargetMethod.java @ 2048:177398c6147d
Added unique concrete subtype assumption.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Mon, 10 Jan 2011 10:50:22 +0100 |
parents | 9e5e83ca2259 |
children | 0db8c8cc5b4a |
comparison
equal
deleted
inserted
replaced
2047:eb575e79136f | 2048:177398c6147d |
---|---|
44 this.method = method; | 44 this.method = method; |
45 this.targetMethod = targetMethod; | 45 this.targetMethod = targetMethod; |
46 this.name = null; | 46 this.name = null; |
47 | 47 |
48 sites = getSortedSites(targetMethod); | 48 sites = getSortedSites(targetMethod); |
49 for (int i = 1; i < sites.length; ++i) { | |
50 assert sites[i - 1].pcOffset <= sites[i].pcOffset : sites[i-1].pcOffset + "<=" + sites[i].pcOffset; | |
51 } | |
49 if (targetMethod.exceptionHandlers == null) { | 52 if (targetMethod.exceptionHandlers == null) { |
50 exceptionHandlers = null; | 53 exceptionHandlers = null; |
51 } else { | 54 } else { |
52 exceptionHandlers = targetMethod.exceptionHandlers.toArray(new ExceptionHandler[targetMethod.exceptionHandlers.size()]); | 55 exceptionHandlers = targetMethod.exceptionHandlers.toArray(new ExceptionHandler[targetMethod.exceptionHandlers.size()]); |
53 } | 56 } |