Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/OptimizationFailedException.java @ 18165:afbb8100ac92
Truffle: CallTarget to RootCallTaget in OptimizationFailedException.
author | Chris Seaton <chris.seaton@oracle.com> |
---|---|
date | Fri, 24 Oct 2014 22:51:53 +0100 |
parents | a3464d86b5d2 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/OptimizationFailedException.java Fri Oct 24 22:50:04 2014 +0100 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/OptimizationFailedException.java Fri Oct 24 22:51:53 2014 +0100 @@ -26,14 +26,14 @@ public class OptimizationFailedException extends RuntimeException { - private final CallTarget callTarget; + private final RootCallTarget callTarget; - public OptimizationFailedException(Throwable cause, CallTarget callTarget) { + public OptimizationFailedException(Throwable cause, RootCallTarget callTarget) { super(cause); this.callTarget = callTarget; } - public CallTarget getCallTarget() { + public RootCallTarget getCallTarget() { return callTarget; }