Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultTruffleRuntime.java @ 18220:890d284b2771
Truffle: add TruffleRuntime#getCapability method
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Thu, 30 Oct 2014 17:04:16 +0100 |
parents | 0a35e2789735 |
children | 656331a61829 |
comparison
equal
deleted
inserted
replaced
18219:4a8dd0fdcc38 | 18220:890d284b2771 |
---|---|
142 @Override | 142 @Override |
143 public FrameInstance getCurrentFrame() { | 143 public FrameInstance getCurrentFrame() { |
144 return currentFrames.get(); | 144 return currentFrames.get(); |
145 } | 145 } |
146 | 146 |
147 public <T> T getCapability(Class<T> capability) { | |
148 return null; | |
149 } | |
150 | |
147 public void notifyTransferToInterpreter() { | 151 public void notifyTransferToInterpreter() { |
148 } | 152 } |
149 | 153 |
150 public LoopNode createLoopNode(RepeatingNode repeating) { | 154 public LoopNode createLoopNode(RepeatingNode repeating) { |
151 if (!(repeating instanceof Node)) { | 155 if (!(repeating instanceof Node)) { |