Index: runtime/bin/builtin.dart |
diff --git a/runtime/bin/builtin.dart b/runtime/bin/builtin.dart |
index 3e8d5d55ee6e7a50eb53439de4354b32f4c5dbee..78a48f3cf1cd531441d73a709fec7a50773ab6cc 100644 |
--- a/runtime/bin/builtin.dart |
+++ b/runtime/bin/builtin.dart |
@@ -17,37 +17,8 @@ void exit(int status) { |
_exit(status); |
} |
-Socket _stdin; |
-InputStream get stdin() { |
- if (_stdin == null) { |
- _stdin = new _Socket._internalReadOnly(); |
- _getStdioHandle(_stdin, 0); |
- } |
- return _stdin.inputStream; |
-} |
- |
-Socket _stdout; |
-OutputStream get stdout() { |
- if (_stdout == null) { |
- _stdout = new _Socket._internalWriteOnly(); |
- _getStdioHandle(_stdout, 1); |
- } |
- return _stdout.outputStream; |
-} |
- |
-Socket _stderr; |
-OutputStream get stderr() { |
- if (_stderr == null) { |
- _stderr = new _Socket._internalWriteOnly(); |
- _getStdioHandle(_stderr, 2); |
- } |
- return _stderr.outputStream; |
-} |
- |
_exit(int status) native "Exit"; |
-_getStdioHandle(Socket socket, int num) native "Socket_GetStdioHandle"; |
- |
class _Logger { |
static void _printString(String s) native "Logger_PrintString"; |
} |