diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeCost.java @ 17170:fe5d4383b505

use supplied canonicalizer in TruffleCacheImpl
author Lukas Stadler <lukas.stadler@oracle.com>
date Mon, 22 Sep 2014 12:17:02 +0200
parents 6681b9eb3f4c
children 5787218bad91
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeCost.java	Fri Sep 19 22:52:25 2014 +0200
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeCost.java	Mon Sep 22 12:17:02 2014 +0200
@@ -29,7 +29,7 @@
 /**
  * Represents a rough estimate for the cost of a {@link Node}. This estimate can be used by runtime
  * systems or guest languages to implement heuristics based on Truffle ASTs.
- * 
+ *
  * @see Node#getCost()
  */
 public enum NodeCost {
@@ -54,7 +54,7 @@
 
     /**
      * This node represents a polymorphic version of an operation. For multiple chained polymorphic
-     * nodes the first may return {@link #MONOMORPHIC} and all addtional nodes should return
+     * nodes the first may return {@link #MONOMORPHIC} and all additional nodes should return
      * {@link #POLYMORPHIC}.
      */
     POLYMORPHIC,