| 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 | 4 |
| 5 #ifndef RUNTIME_VM_KERNEL_H_ | 5 #ifndef RUNTIME_VM_KERNEL_H_ |
| 6 #define RUNTIME_VM_KERNEL_H_ | 6 #define RUNTIME_VM_KERNEL_H_ |
| 7 | 7 |
| 8 #if !defined(DART_PRECOMPILED_RUNTIME) | 8 #if !defined(DART_PRECOMPILED_RUNTIME) |
| 9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
| 10 #include "vm/allocation.h" | 10 #include "vm/allocation.h" |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 // The offset from the start of the binary to the canonical name table. | 76 // The offset from the start of the binary to the canonical name table. |
| 77 intptr_t name_table_offset_; | 77 intptr_t name_table_offset_; |
| 78 | 78 |
| 79 const uint8_t* kernel_data_; | 79 const uint8_t* kernel_data_; |
| 80 intptr_t kernel_data_size_; | 80 intptr_t kernel_data_size_; |
| 81 | 81 |
| 82 DISALLOW_COPY_AND_ASSIGN(Program); | 82 DISALLOW_COPY_AND_ASSIGN(Program); |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 ParsedFunction* ParseStaticFieldInitializer(Zone* zone, | 85 ParsedFunction* ParseStaticFieldInitializer(Zone* zone, const Field& field); |
| 86 const dart::Field& field); | |
| 87 | 86 |
| 88 } // namespace kernel | 87 } // namespace kernel |
| 89 | 88 |
| 90 kernel::Program* ReadPrecompiledKernelFromBuffer(const uint8_t* buffer, | 89 kernel::Program* ReadPrecompiledKernelFromBuffer(const uint8_t* buffer, |
| 91 intptr_t buffer_length); | 90 intptr_t buffer_length); |
| 92 | 91 |
| 93 } // namespace dart | 92 } // namespace dart |
| 94 | 93 |
| 95 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 94 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
| 96 #endif // RUNTIME_VM_KERNEL_H_ | 95 #endif // RUNTIME_VM_KERNEL_H_ |
| OLD | NEW |