Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/FinalFieldTest.java @ 14991:64dcb92ee75a
Truffle: Change signature for Truffle calls from (PackedFrame, Arguments) to (Object[]).
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 06 Apr 2014 17:46:24 +0200 |
parents | a08b8694f556 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/FinalFieldTest.java Sat Apr 05 19:35:30 2014 +0200 +++ b/graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/FinalFieldTest.java Sun Apr 06 17:46:24 2014 +0200 @@ -30,20 +30,20 @@ /** * <h3>Using Final Fields in Node Classes</h3> - * + * * <p> * The usage of final fields in node classes is highly encouraged. It is beneficial for performance * to declare every field that is not pointing to a child node as final. This gives the Truffle * runtime an increased opportunity to optimize this node. * </p> - * + * * <p> * If a node has a value which may change at run time, but will rarely do so, it is recommended to * speculate on the field being final. This involves starting executing with a node where this field * is final and only if this turns out to be no longer the case, the node is replaced with an * alternative implementation of the operation (see {@link ReplaceTest}). * </p> - * + * * <p> * The next part of the Truffle API introduction is at * {@link com.oracle.truffle.api.test.ReplaceTest}.