Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/ExecuteMethodTest.java @ 19291:f4792a544170
Truffle-DSL: implement new assumptions semantics.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Wed, 11 Feb 2015 12:13:44 +0100 |
parents | ae827362559d |
children | 18c0f02fa4d2 |
comparison
equal
deleted
inserted
replaced
19290:bf166845c7d8 | 19291:f4792a544170 |
---|---|
317 } | 317 } |
318 } | 318 } |
319 | 319 |
320 @TypeSystemReference(ExecuteMethodTypes.class) | 320 @TypeSystemReference(ExecuteMethodTypes.class) |
321 @NodeChild(value = "a", type = ChildNoFrame.class) | 321 @NodeChild(value = "a", type = ChildNoFrame.class) |
322 @ExpectError("Invalid inconsistent frame types [MaterializedFrame, void] found for the declared execute methods.%") | |
323 abstract static class ExecuteWithFrameError5 extends Node { | 322 abstract static class ExecuteWithFrameError5 extends Node { |
324 | 323 |
325 abstract Object execute(); | 324 abstract Object execute(); |
326 | 325 |
327 abstract int executeInt(MaterializedFrame frame) throws UnexpectedResultException; | 326 abstract int executeInt(MaterializedFrame frame) throws UnexpectedResultException; |