| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index b1ec504031cdf0fdf2401734caedd6327044d6c1..fbfa34ec2e9a4b16316118fdb38e24c1f142fbd3 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -947,53 +947,6 @@ class V8_EXPORT Data {
|
|
|
|
|
| /**
|
| - * Pre-compilation data that can be associated with a script. This
|
| - * data can be calculated for a script in advance of actually
|
| - * compiling it, and can be stored between compilations. When script
|
| - * data is given to the compile method compilation will be faster.
|
| - */
|
| -class V8_EXPORT ScriptData { // NOLINT
|
| - public:
|
| - virtual ~ScriptData() { }
|
| -
|
| - /**
|
| - * Pre-compiles the specified script (context-independent).
|
| - *
|
| - * NOTE: Pre-compilation using this method cannot happen on another thread
|
| - * without using Lockers.
|
| - *
|
| - * \param source Script source code.
|
| - */
|
| - static ScriptData* PreCompile(Handle<String> source);
|
| -
|
| - /**
|
| - * Load previous pre-compilation data.
|
| - *
|
| - * \param data Pointer to data returned by a call to Data() of a previous
|
| - * ScriptData. Ownership is not transferred.
|
| - * \param length Length of data.
|
| - */
|
| - static ScriptData* New(const char* data, int length);
|
| -
|
| - /**
|
| - * Returns the length of Data().
|
| - */
|
| - virtual int Length() = 0;
|
| -
|
| - /**
|
| - * Returns a serialized representation of this ScriptData that can later be
|
| - * passed to New(). NOTE: Serialized data is platform-dependent.
|
| - */
|
| - virtual const char* Data() = 0;
|
| -
|
| - /**
|
| - * Returns true if the source code could not be parsed.
|
| - */
|
| - virtual bool HasError() = 0;
|
| -};
|
| -
|
| -
|
| -/**
|
| * The origin, within a file, of a script.
|
| */
|
| class ScriptOrigin {
|
| @@ -1050,12 +1003,9 @@ class V8_EXPORT Script {
|
| public:
|
| /**
|
| * A shorthand for ScriptCompiler::Compile().
|
| - * The ScriptData parameter will be deprecated; use ScriptCompiler::Compile if
|
| - * you want to pass it.
|
| */
|
| static Local<Script> Compile(Handle<String> source,
|
| - ScriptOrigin* origin = NULL,
|
| - ScriptData* script_data = NULL);
|
| + ScriptOrigin* origin = NULL);
|
|
|
| // To be decprecated, use the Compile above.
|
| static Local<Script> Compile(Handle<String> source,
|
|
|