Index: src/natives.h |
diff --git a/src/natives.h b/src/natives.h |
index 6ddedf02cabf3fcca4c71672be36d6dbf8e30457..7ce7213edf9623d44f6e86c226013d09aaf0b91a 100644 |
--- a/src/natives.h |
+++ b/src/natives.h |
@@ -12,10 +12,6 @@ namespace v8 { class StartupData; } // Forward declaration. |
namespace v8 { |
namespace internal { |
-typedef bool (*NativeSourceCallback)(Vector<const char> name, |
- Vector<const char> source, |
- int index); |
- |
enum NativeType { |
CORE, EXPERIMENTAL, D8, TEST |
}; |
@@ -33,11 +29,9 @@ class NativesCollection { |
// non-debugger scripts have an index in the interval [GetDebuggerCount(), |
// GetNativesCount()). |
static int GetIndex(const char* name); |
- static int GetRawScriptsSize(); |
- static Vector<const char> GetRawScriptSource(int index); |
+ static Vector<const char> GetScriptSource(int index); |
static Vector<const char> GetScriptName(int index); |
- static Vector<const byte> GetScriptsSource(); |
- static void SetRawScriptsSource(Vector<const char> raw_source); |
+ static Vector<const char> GetScriptsSource(); |
}; |
typedef NativesCollection<CORE> Natives; |