| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 #if !defined(DART_PRECOMPILED_RUNTIME) |
| 4 | 5 |
| 5 #include <map> | 6 #include <map> |
| 6 #include <vector> | 7 #include <vector> |
| 7 | 8 |
| 8 #include "platform/globals.h" | 9 #include "platform/globals.h" |
| 9 #include "vm/flags.h" | 10 #include "vm/flags.h" |
| 10 #include "vm/kernel.h" | 11 #include "vm/kernel.h" |
| 11 #include "vm/os.h" | 12 #include "vm/os.h" |
| 12 | 13 |
| 13 #if defined(DEBUG) | 14 #if defined(DEBUG) |
| (...skipping 2880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2894 | 2895 |
| 2895 void WritePrecompiledKernel(ByteWriter* byte_writer, kernel::Program* program) { | 2896 void WritePrecompiledKernel(ByteWriter* byte_writer, kernel::Program* program) { |
| 2896 ASSERT(byte_writer != NULL); | 2897 ASSERT(byte_writer != NULL); |
| 2897 | 2898 |
| 2898 kernel::Writer writer(byte_writer); | 2899 kernel::Writer writer(byte_writer); |
| 2899 program->WriteTo(&writer); | 2900 program->WriteTo(&writer); |
| 2900 } | 2901 } |
| 2901 | 2902 |
| 2902 | 2903 |
| 2903 } // namespace dart | 2904 } // namespace dart |
| 2905 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
| OLD | NEW |