Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl.java @ 23312:fb20e2d4f0bc
Add dummy implementation of HotSpotResolvedJavaMethod.hasReservedAccess for compatibility with JDK9
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 23 Feb 2016 13:09:08 -0800 |
parents | 7b09dede4552 |
children | ae27c683c128 |
comparison
equal
deleted
inserted
replaced
23311:54b4e75c6088 | 23312:fb20e2d4f0bc |
---|---|
307 public boolean isDontInline() { | 307 public boolean isDontInline() { |
308 return (getFlags() & config().methodFlagsDontInline) != 0; | 308 return (getFlags() & config().methodFlagsDontInline) != 0; |
309 } | 309 } |
310 | 310 |
311 /** | 311 /** |
312 * Returns true if this method has a {@code ReservedStackAccess} annotation. | |
313 * | |
314 * @return true if ReservedStackAccess annotation present, false otherwise | |
315 */ | |
316 public boolean hasReservedStackAccess() { | |
317 // Annotation isn't available in JDK8 | |
318 return false; | |
319 } | |
320 | |
321 /** | |
312 * Manually adds a DontInline annotation to this method. | 322 * Manually adds a DontInline annotation to this method. |
313 */ | 323 */ |
314 public void setNotInlineable() { | 324 public void setNotInlineable() { |
315 compilerToVM().doNotInlineOrCompile(this); | 325 compilerToVM().doNotInlineOrCompile(this); |
316 } | 326 } |