Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 9f8103c5c5a92b243c42901287698fd57a239110..931b6ae7463a13d7183ec8353756343f95b72584 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -28,7 +28,9 @@ |
#include "src/icu_util.h" |
#include "src/json-parser.h" |
#include "src/messages.h" |
+#ifdef COMPRESS_STARTUP_DATA_BZ2 |
#include "src/natives.h" |
+#endif |
#include "src/parser.h" |
#include "src/platform.h" |
#include "src/platform/time.h" |
@@ -351,24 +353,6 @@ void V8::SetDecompressedStartupData(StartupData* decompressed_data) { |
} |
-void V8::SetNativesDataBlob(StartupData* natives_blob) { |
-#ifdef V8_USE_EXTERNAL_STARTUP_DATA |
- i::SetNativesFromFile(natives_blob); |
-#else |
- CHECK(false); |
-#endif |
-} |
- |
- |
-void V8::SetSnapshotDataBlob(StartupData* snapshot_blob) { |
-#ifdef V8_USE_EXTERNAL_STARTUP_DATA |
- i::SetSnapshotFromFile(snapshot_blob); |
-#else |
- CHECK(false); |
-#endif |
-} |
- |
- |
void V8::SetFatalErrorHandler(FatalErrorCallback that) { |
i::Isolate* isolate = i::Isolate::UncheckedCurrent(); |
isolate->set_exception_behavior(that); |