Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/builtins/SLReadlnBuiltin.java @ 18130:b4e38f4ca414
Truffle: rename @SlowPath to @TruffleBoundary.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 21 Oct 2014 00:22:51 +0200 |
parents | abe7128ca473 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/builtins/SLReadlnBuiltin.java Tue Oct 21 00:22:48 2014 +0200 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/builtins/SLReadlnBuiltin.java Tue Oct 21 00:22:51 2014 +0200 @@ -24,7 +24,7 @@ import java.io.*; -import com.oracle.truffle.api.CompilerDirectives.SlowPath; +import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary; import com.oracle.truffle.api.dsl.*; import com.oracle.truffle.api.nodes.*; import com.oracle.truffle.api.source.*; @@ -55,7 +55,7 @@ return result; } - @SlowPath + @TruffleBoundary private static String doRead(BufferedReader in) { try { return in.readLine();