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:
Siva Chandra 2017-06-21 16:15:46 -07:00
parent 1eee6d8af3
commit 2883d7f416

View file

@ -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;