# HG changeset patch # User Christian Humer # Date 1413844206 -7200 # Node ID 85cec9cab17bcf8a3427182d82688c7a5608a23e # Parent b4e38f4ca4143f47e52a698e0531af77bd720273 Truffle: format fix. diff -r b4e38f4ca414 -r 85cec9cab17b graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Instrument.java --- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Instrument.java Tue Oct 21 00:22:51 2014 +0200 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Instrument.java Tue Oct 21 00:30:06 2014 +0200 @@ -49,8 +49,8 @@ *
  • Minimize computation in standard execution paths.
  • *
  • If runtime calls must be made back to a tool, construct the instrument with a callback stored * in a {@code final} field.
  • - *
  • Tool methods called by the instrument should be annotated as {@link TruffleBoundary} to prevent them - * from being inlined into fast execution paths.
  • + *
  • Tool methods called by the instrument should be annotated as {@link TruffleBoundary} to + * prevent them from being inlined into fast execution paths.
  • *
  • If computation in the execution path is needed, and if performance is important, then the * computation is best expressed as a guest language AST and evaluated using standard Truffle * mechanisms so that standard Truffle optimizations can be applied.