changeset 19771:b249bdba508b

Truffle-DSL: @Cached javadoc fixes.
author Christian Humer <christian.humer@gmail.com>
date Wed, 11 Mar 2015 15:44:32 +0100
parents 7108d2319169
children b3f566135b56
files graal/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/Cached.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/Cached.java	Wed Mar 11 11:32:13 2015 +0100
+++ b/graal/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/Cached.java	Wed Mar 11 15:44:32 2015 +0100
@@ -86,7 +86,7 @@
  *
  * <pre>
  *  &#064;Specialization
- *  void doCached(int operand, @Local(&quot;operand&quot;) int cachedOperand) {
+ *  void doCached(int operand, @Cached(&quot;operand&quot;) int cachedOperand) {
  *      CompilerAsserts.compilationConstant(cachedOperand);
  *      ...
  *  }
@@ -111,7 +111,7 @@
  * specialization instantiation limit is <code>3</code>.
  *
  * <pre>
- * &#064;Specialization(guards = &quot;==(operand, cachedOperand)&quot;)
+ * &#064;Specialization(guards = &quot;operand == cachedOperand&quot;)
  * void doCached(int operand, @Cached(&quot;operand&quot;) int cachedOperand) {
  *    CompilerAsserts.compilationConstant(cachedOperand);
  *    ...
@@ -139,7 +139,7 @@
  * <code>doCached</code> instances remain but no new instances are created.
  *
  * <code>
- * &#064;Specialization(guards = &quot;==(operand, cachedOperand)&quot;)
+ * &#064;Specialization(guards = &quot;operand == cachedOperand&quot;)
  * void doCached(int operand, @Cached(&quot;operand&quot;) int cachedOperand) {
  *    CompilerAsserts.compilationConstant(cachedOperand);
  *    ...
@@ -209,7 +209,7 @@
  *
  * <pre>
  * &#064;Specialization
- * void s(int operand, @Local(&quot;create()&quot;) BranchProfile profile) {
+ * void s(int operand, @Cached(&quot;create()&quot;) BranchProfile profile) {
  * }
  * </pre>
  *