Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | |
| 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. | |
| 4 | |
| 5 #ifndef RUNTIME_BIN_SNAPSHOT_H_ | |
| 6 #define RUNTIME_BIN_SNAPSHOT_H_ | |
| 7 | |
| 8 #include "platform/globals.h" | |
| 9 | |
| 10 namespace dart { | |
| 11 namespace bin { | |
| 12 | |
| 13 class Snapshot { | |
| 14 public: | |
| 15 static void GenerateScript(const char* snapshot_filename); | |
| 16 static void GenerateAppJIT(const char* snapshot_filename); | |
| 17 static void GenerateAppAOTAsBlobs(const char* snapshot_filename); | |
| 18 static void GenerateAppAOTAsAssembly(const char* snapshot_filename); | |
| 19 | |
| 20 static bool ReadAppSnapshot(const char* script_name, | |
| 21 const uint8_t** vm_data_buffer, | |
| 22 const uint8_t** vm_instructions_buffer, | |
| 23 const uint8_t** isolate_data_buffer, | |
| 24 const uint8_t** isolate_instructions_buffer); | |
| 25 }; | |
|
zra
2017/02/09 16:15:38
DISALLOW_ALLOCATION()
DISALLOW_IMPLICIT_CONSTRUCTO
rmacnak
2017/02/10 02:11:56
Done.
| |
| 26 | |
| 27 } // namespace bin | |
| 28 } // namespace dart | |
| 29 | |
| 30 #endif // RUNTIME_BIN_SNAPSHOT_H_ | |
| OLD | NEW |