Index: src/natives.h |
diff --git a/src/natives.h b/src/natives.h |
index 2f930dc7bdc71dcce76991c4593c9dd5c5d07973..9e19943dec00b36c0039563f921d097f054c1c59 100644 |
--- a/src/natives.h |
+++ b/src/natives.h |
@@ -5,6 +5,10 @@ |
#ifndef V8_NATIVES_H_ |
#define V8_NATIVES_H_ |
+#include "vector.h" |
+ |
+namespace v8 { class StartupData; } |
Benedikt Meurer
2014/05/27 04:09:59
Nit: Add comment // Forward declarations.
vogelheim
2014/05/27 15:20:23
Done.
|
+ |
namespace v8 { |
namespace internal { |
@@ -39,6 +43,11 @@ class NativesCollection { |
typedef NativesCollection<CORE> Natives; |
typedef NativesCollection<EXPERIMENTAL> ExperimentalNatives; |
+#ifdef V8_USE_EXTERNAL_STARTUP_DATA |
+// Used for reading the natives at runtime. Implementation in natives-empty.cc |
+void SetNativesFromFile(StartupData* natives_blob); |
+#endif |
+ |
} } // namespace v8::internal |
#endif // V8_NATIVES_H_ |