mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:39:49 +00:00
Remove API_TIMELINE_DURATION from Dart_ReadKernelBinary.
This allows Dart_ReadKernelBinary to be called before Dart_Initialize. R=rmacnak@google.com Review-Url: https://codereview.chromium.org/2951213002 .
This commit is contained in:
parent
1eee6d8af3
commit
2883d7f416
|
@ -5395,8 +5395,6 @@ DART_EXPORT Dart_Handle Dart_LoadScriptFromSnapshot(const uint8_t* buffer,
|
|||
|
||||
DART_EXPORT void* Dart_ReadKernelBinary(const uint8_t* buffer,
|
||||
intptr_t buffer_len) {
|
||||
API_TIMELINE_DURATION;
|
||||
|
||||
#if defined(DART_PRECOMPILED_RUNTIME)
|
||||
UNREACHABLE();
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue