OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef BIN_EMBEDDED_DART_IO_H_ | 5 #ifndef VM_PRECOMPILER_H_ |
6 #define BIN_EMBEDDED_DART_IO_H_ | 6 #define VM_PRECOMPILER_H_ |
| 7 |
| 8 #include "vm/allocation.h" |
7 | 9 |
8 namespace dart { | 10 namespace dart { |
9 namespace bin { | |
10 | 11 |
11 // Bootstraps 'dart:io'. | 12 // Forward declarations. |
12 void BootstrapDartIo(); | 13 class RawError; |
13 | 14 |
14 } // namespace bin | 15 class Precompiler : public AllStatic { |
| 16 public: |
| 17 static RawError* CompileAll(); |
| 18 }; |
| 19 |
15 } // namespace dart | 20 } // namespace dart |
16 | 21 |
17 #endif // BIN_EMBEDDED_DART_IO_H_ | 22 #endif // VM_PRECOMPILER_H_ |
OLD | NEW |