--- old/src/jdk.vm.ci/share/classes/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/JVMCIBackend.java 2015-11-02 17:06:44.000000000 -1000 +++ new/src/jdk.vm.ci/share/classes/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/JVMCIBackend.java 2015-11-02 17:06:44.000000000 -1000 @@ -22,8 +22,11 @@ */ package jdk.vm.ci.runtime; -import jdk.vm.ci.code.*; -import jdk.vm.ci.meta.*; +import jdk.vm.ci.code.CodeCacheProvider; +import jdk.vm.ci.code.TargetDescription; +import jdk.vm.ci.code.stack.StackIntrospection; +import jdk.vm.ci.meta.ConstantReflectionProvider; +import jdk.vm.ci.meta.MetaAccessProvider; /** * A JVMCI backend encapsulates the capabilities needed by a Java based compiler for compiling and @@ -35,11 +38,13 @@ private final MetaAccessProvider metaAccess; private final CodeCacheProvider codeCache; private final ConstantReflectionProvider constantReflection; + private final StackIntrospection stackIntrospection; - public JVMCIBackend(MetaAccessProvider metaAccess, CodeCacheProvider codeCache, ConstantReflectionProvider constantReflection) { + public JVMCIBackend(MetaAccessProvider metaAccess, CodeCacheProvider codeCache, ConstantReflectionProvider constantReflection, StackIntrospection stackIntrospection) { this.metaAccess = metaAccess; this.codeCache = codeCache; this.constantReflection = constantReflection; + this.stackIntrospection = stackIntrospection; } public MetaAccessProvider getMetaAccess() { @@ -57,4 +62,8 @@ public TargetDescription getTarget() { return codeCache.getTarget(); } + + public StackIntrospection getStackIntrospection() { + return stackIntrospection; + } }