Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/local/SLWriteLocalVariableNode.java @ 16761:e5e1013c04fd
SL: adapt SL for @Generic to @Fallback rename.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 11 Aug 2014 15:57:47 +0200 |
parents | abe7128ca473 |
children | ee4fde70df19 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/local/SLWriteLocalVariableNode.java Mon Aug 11 15:57:47 2014 +0200 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/local/SLWriteLocalVariableNode.java Mon Aug 11 15:57:47 2014 +0200 @@ -66,8 +66,8 @@ /** * Generic write method that works for all possible types. * <p> - * Why is this method annotated with {@link Specialization} and not {@link Generic}? For a - * {@link Generic} method, the Truffle DSL generated code would try all other specializations + * Why is this method annotated with {@link Specialization} and not {@link Fallback}? For a + * {@link Fallback} method, the Truffle DSL generated code would try all other specializations * first before calling this method. We know that all these specializations would fail their * guards, so there is no point in calling them. Since this method takes a value of type * {@link Object}, it is guaranteed to never fail, i.e., once we are in this specialization the