v8.h   v8.h 
skipping to change at line 873 skipping to change at line 873
class V8_EXPORT ScriptData { // NOLINT class V8_EXPORT ScriptData { // NOLINT
public: public:
virtual ~ScriptData() { } virtual ~ScriptData() { }
/** /**
* Pre-compiles the specified script (context-independent). * Pre-compiles the specified script (context-independent).
* *
* \param input Pointer to UTF-8 script source code. * \param input Pointer to UTF-8 script source code.
* \param length Length of UTF-8 script source code. * \param length Length of UTF-8 script source code.
*/ */
static ScriptData* PreCompile(const char* input, int length); static ScriptData* PreCompile(Isolate* isolate,
const char* input,
int length);
/** /**
* Pre-compiles the specified script (context-independent). * Pre-compiles the specified script (context-independent).
* *
* NOTE: Pre-compilation using this method cannot happen on another threa d * NOTE: Pre-compilation using this method cannot happen on another threa d
* without using Lockers. * without using Lockers.
* *
* \param source Script source code. * \param source Script source code.
*/ */
static ScriptData* PreCompile(Handle<String> source); static ScriptData* PreCompile(Handle<String> source);
skipping to change at line 2358 skipping to change at line 2360
V8_INLINE bool IsConstructCall() const; V8_INLINE bool IsConstructCall() const;
V8_INLINE Local<Value> Data() const; V8_INLINE Local<Value> Data() const;
V8_INLINE Isolate* GetIsolate() const; V8_INLINE Isolate* GetIsolate() const;
V8_INLINE ReturnValue<T> GetReturnValue() const; V8_INLINE ReturnValue<T> GetReturnValue() const;
// This shouldn't be public, but the arm compiler needs it. // This shouldn't be public, but the arm compiler needs it.
static const int kArgsLength = 7; static const int kArgsLength = 7;
protected: protected:
friend class internal::FunctionCallbackArguments; friend class internal::FunctionCallbackArguments;
friend class internal::CustomArguments<FunctionCallbackInfo>; friend class internal::CustomArguments<FunctionCallbackInfo>;
static const int kContextSaveIndex = 0; static const int kHolderIndex = 0;
static const int kCalleeIndex = -1; static const int kIsolateIndex = 1;
static const int kDataIndex = -2; static const int kReturnValueDefaultValueIndex = 2;
static const int kReturnValueIndex = -3; static const int kReturnValueIndex = 3;
static const int kReturnValueDefaultValueIndex = -4; static const int kDataIndex = 4;
static const int kIsolateIndex = -5; static const int kCalleeIndex = 5;
static const int kHolderIndex = -6; static const int kContextSaveIndex = 6;
V8_INLINE FunctionCallbackInfo(internal::Object** implicit_args, V8_INLINE FunctionCallbackInfo(internal::Object** implicit_args,
internal::Object** values, internal::Object** values,
int length, int length,
bool is_construct_call); bool is_construct_call);
internal::Object** implicit_args_; internal::Object** implicit_args_;
internal::Object** values_; internal::Object** values_;
int length_; int length_;
bool is_construct_call_; bool is_construct_call_;
}; };
skipping to change at line 2395 skipping to change at line 2397
V8_INLINE Local<Object> This() const; V8_INLINE Local<Object> This() const;
V8_INLINE Local<Object> Holder() const; V8_INLINE Local<Object> Holder() const;
V8_INLINE ReturnValue<T> GetReturnValue() const; V8_INLINE ReturnValue<T> GetReturnValue() const;
// This shouldn't be public, but the arm compiler needs it. // This shouldn't be public, but the arm compiler needs it.
static const int kArgsLength = 6; static const int kArgsLength = 6;
protected: protected:
friend class MacroAssembler; friend class MacroAssembler;
friend class internal::PropertyCallbackArguments; friend class internal::PropertyCallbackArguments;
friend class internal::CustomArguments<PropertyCallbackInfo>; friend class internal::CustomArguments<PropertyCallbackInfo>;
static const int kThisIndex = 0; static const int kHolderIndex = 0;
static const int kDataIndex = -1; static const int kIsolateIndex = 1;
static const int kReturnValueIndex = -2; static const int kReturnValueDefaultValueIndex = 2;
static const int kReturnValueDefaultValueIndex = -3; static const int kReturnValueIndex = 3;
static const int kIsolateIndex = -4; static const int kDataIndex = 4;
static const int kHolderIndex = -5; static const int kThisIndex = 5;
V8_INLINE PropertyCallbackInfo(internal::Object** args) : args_(args) {} V8_INLINE PropertyCallbackInfo(internal::Object** args) : args_(args) {}
internal::Object** args_; internal::Object** args_;
}; };
typedef void (*FunctionCallback)(const FunctionCallbackInfo<Value>& info); typedef void (*FunctionCallback)(const FunctionCallbackInfo<Value>& info);
/** /**
* A JavaScript function object (ECMA-262, 15.3). * A JavaScript function object (ECMA-262, 15.3).
*/ */
 End of changes. 3 change blocks. 
14 lines changed or deleted 16 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/