Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/DivTest.java @ 12752:71991b7a0f14
SL: Enhanced SimpleLanguage with support for if statements, function calls, function caching + inlining and builtins.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 11 Nov 2013 21:34:44 +0100 |
parents | 07f8d136a05e |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/DivTest.java Thu Nov 07 20:55:13 2013 +0100 +++ b/graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/DivTest.java Mon Nov 11 21:34:44 2013 +0100 @@ -29,10 +29,10 @@ private static String[] INPUT = new String[] { "function main { ", - " print 4 / 2; ", - " print 4 / 4000000000000; ", - " print 3000000000000 / 3; ", - " print 3000000000000 / 3000000000000; ", + " print(4 / 2); ", + " print(4 / 4000000000000); ", + " print(3000000000000 / 3); ", + " print(3000000000000 / 3000000000000); ", "} ", };