diff graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/MethodGuardsTest.java @ 16760:9f38d222fa6c

Truffle-DSL: renamed @Generic to @Fallback.
author Christian Humer <christian.humer@gmail.com>
date Mon, 11 Aug 2014 15:57:47 +0200
parents 5148aab962af
children c3c07046a74b
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/MethodGuardsTest.java	Mon Aug 11 15:57:14 2014 +0200
+++ b/graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/MethodGuardsTest.java	Mon Aug 11 15:57:47 2014 +0200
@@ -77,7 +77,7 @@
             return value0 + value1;
         }
 
-        @Generic
+        @Fallback
         int doGeneric(Object value0, Object value1) {
             genericInvocations++;
             return 42; // the generic answer to all questions
@@ -111,7 +111,7 @@
             return 41;
         }
 
-        @Generic
+        @Fallback
         int doGeneric(Object value0) {
             return 42; // the generic answer to all questions
         }