Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Unified Diff: runtime/vm/precompiler.h

Issue 1261673004: Non-tree-shaking --precompile. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/precompiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/precompiler.h
diff --git a/runtime/bin/embedded_dart_io.h b/runtime/vm/precompiler.h
similarity index 52%
copy from runtime/bin/embedded_dart_io.h
copy to runtime/vm/precompiler.h
index e19b21ac8d1f968421795a789351ec94d6bf530e..140a8661ed74d6d76b7faf9e481ee3b1e29c7703 100644
--- a/runtime/bin/embedded_dart_io.h
+++ b/runtime/vm/precompiler.h
@@ -2,16 +2,21 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#ifndef BIN_EMBEDDED_DART_IO_H_
-#define BIN_EMBEDDED_DART_IO_H_
+#ifndef VM_PRECOMPILER_H_
+#define VM_PRECOMPILER_H_
+
+#include "vm/allocation.h"
namespace dart {
-namespace bin {
-// Bootstraps 'dart:io'.
-void BootstrapDartIo();
+// Forward declarations.
+class RawError;
+
+class Precompiler : public AllStatic {
+ public:
+ static RawError* CompileAll();
+};
-} // namespace bin
} // namespace dart
-#endif // BIN_EMBEDDED_DART_IO_H_
+#endif // VM_PRECOMPILER_H_
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/precompiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698