Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Unified Diff: src/natives.h

Issue 293993021: Support external startup data in V8. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « src/mksnapshot.cc ('k') | src/natives-external.cc » ('j') | src/natives-external.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698