diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/runtime/SLFunction.java @ 13836:64c77f0577bb

More documentation and improvements of Simple Language
author Christian Wimmer <christian.wimmer@oracle.com>
date Thu, 30 Jan 2014 17:53:27 -0800
parents b16ec83edc73
children 3286fb5fea4a
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/runtime/SLFunction.java	Thu Jan 30 17:52:24 2014 -0800
+++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/runtime/SLFunction.java	Thu Jan 30 17:53:27 2014 -0800
@@ -27,12 +27,12 @@
 
 /**
  * Represents a SL function. On the Truffle level, a callable element is represented by a
- * {@link RootCallTarget call target}. This class encapsulates a call target, and adds versioning
+ * {@link RootCallTarget call target}. This class encapsulates a call target, and adds version
  * support: functions in SL can be redefined, i.e. changed at run time. When a function is
  * redefined, the call target managed by this function object is changed (and {@link #callTarget} is
  * therefore not a final field).
  * <p>
- * Function redefinition is expected to be rare, therefore optimzied call nodes want to speculate
+ * Function redefinition is expected to be rare, therefore optimized call nodes want to speculate
  * that the call target is stable. This is possible with the help of a Truffle {@link Assumption}: a
  * call node can keep the call target returned by {@link #getCallTarget()} cached until the
  * assumption returned by {@link #getCallTargetStable()} is valid.