Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 5bb56e6e722af5b415335642e86992229bc90230..c356f96f8141e415ea5d3326953bde2efb458278 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -50,6 +50,7 @@ |
#include "src/simulator.h" |
#include "src/snapshot/natives.h" |
#include "src/snapshot/snapshot.h" |
+#include "src/startup-data-util.h" |
#include "src/unicode-inl.h" |
#include "src/v8.h" |
#include "src/v8threads.h" |
@@ -5393,11 +5394,23 @@ HeapObjectStatistics::HeapObjectStatistics() |
object_count_(0), |
object_size_(0) {} |
+ |
bool v8::V8::InitializeICU(const char* icu_data_file) { |
return i::InitializeICU(icu_data_file); |
} |
+void v8::V8::InitializeExternalStartupData(const char* directory_path) { |
+ i::InitializeExternalStartupData(directory_path); |
+} |
+ |
+ |
+void v8::V8::InitializeExternalStartupData(const char* natives_blob, |
+ const char* snapshot_blob) { |
+ i::InitializeExternalStartupData(natives_blob, snapshot_blob); |
+} |
+ |
+ |
const char* v8::V8::GetVersion() { |
return i::Version::GetVersion(); |
} |