v8.h   v8.h 
skipping to change at line 1706 skipping to change at line 1706
public: public:
V8EXPORT Local<Object> NewInstance() const; V8EXPORT Local<Object> NewInstance() const;
V8EXPORT Local<Object> NewInstance(int argc, Handle<Value> argv[]) const; V8EXPORT Local<Object> NewInstance(int argc, Handle<Value> argv[]) const;
V8EXPORT Local<Value> Call(Handle<Object> recv, V8EXPORT Local<Value> Call(Handle<Object> recv,
int argc, int argc,
Handle<Value> argv[]); Handle<Value> argv[]);
V8EXPORT void SetName(Handle<String> name); V8EXPORT void SetName(Handle<String> name);
V8EXPORT Handle<Value> GetName() const; V8EXPORT Handle<Value> GetName() const;
/** /**
* Name inferred from variable or property assignment of this function.
* Used to facilitate debugging and profiling of JavaScript code written
* in an OO style, where many functions are anonymous but are assigned
* to object properties.
*/
V8EXPORT Handle<Value> GetInferredName() const;
/**
* Returns zero based line number of function body and * Returns zero based line number of function body and
* kLineOffsetNotFound if no information available. * kLineOffsetNotFound if no information available.
*/ */
V8EXPORT int GetScriptLineNumber() const; V8EXPORT int GetScriptLineNumber() const;
/** /**
* Returns zero based column number of function body and * Returns zero based column number of function body and
* kLineOffsetNotFound if no information available. * kLineOffsetNotFound if no information available.
*/ */
V8EXPORT int GetScriptColumnNumber() const; V8EXPORT int GetScriptColumnNumber() const;
V8EXPORT Handle<Value> GetScriptId() const; V8EXPORT Handle<Value> GetScriptId() const;
skipping to change at line 2653 skipping to change at line 2661
class RetainedObjectInfo; class RetainedObjectInfo;
/** /**
* Isolate represents an isolated instance of the V8 engine. V8 * Isolate represents an isolated instance of the V8 engine. V8
* isolates have completely separate states. Objects from one isolate * isolates have completely separate states. Objects from one isolate
* must not be used in other isolates. When V8 is initialized a * must not be used in other isolates. When V8 is initialized a
* default isolate is implicitly created and entered. The embedder * default isolate is implicitly created and entered. The embedder
* can create additional isolates and use them in parallel in multiple * can create additional isolates and use them in parallel in multiple
* threads. An isolate can be entered by at most one thread at any * threads. An isolate can be entered by at most one thread at any
* given time. The Locker/Unlocker API can be used to synchronize. * given time. The Locker/Unlocker API must be used to synchronize.
*/ */
class V8EXPORT Isolate { class V8EXPORT Isolate {
public: public:
/** /**
* Stack-allocated class which sets the isolate for all operations * Stack-allocated class which sets the isolate for all operations
* executed within a local scope. * executed within a local scope.
*/ */
class V8EXPORT Scope { class V8EXPORT Scope {
public: public:
explicit Scope(Isolate* isolate) : isolate_(isolate) { explicit Scope(Isolate* isolate) : isolate_(isolate) {
skipping to change at line 3485 skipping to change at line 3493
friend class Function; friend class Function;
}; };
/** /**
* Multiple threads in V8 are allowed, but only one thread at a time * Multiple threads in V8 are allowed, but only one thread at a time
* is allowed to use any given V8 isolate. See Isolate class * is allowed to use any given V8 isolate. See Isolate class
* comments. The definition of 'using V8 isolate' includes * comments. The definition of 'using V8 isolate' includes
* accessing handles or holding onto object pointers obtained * accessing handles or holding onto object pointers obtained
* from V8 handles while in the particular V8 isolate. It is up * from V8 handles while in the particular V8 isolate. It is up
* to the user of V8 to ensure (perhaps with locking) that this * to the user of V8 to ensure (perhaps with locking) that this
* constraint is not violated. * constraint is not violated. In addition to any other synchronization
* mechanism that may be used, the v8::Locker and v8::Unlocker classes
* must be used to signal thead switches to V8.
* *
* v8::Locker is a scoped lock object. While it's * v8::Locker is a scoped lock object. While it's
* active (i.e. between its construction and destruction) the current threa d is * active (i.e. between its construction and destruction) the current threa d is
* allowed to use the locked isolate. V8 guarantees that an isolate can be * allowed to use the locked isolate. V8 guarantees that an isolate can be
* locked by at most one thread at any time. In other words, the scope of a * locked by at most one thread at any time. In other words, the scope of a
* v8::Locker is a critical section. * v8::Locker is a critical section.
* *
* Sample usage: * Sample usage:
* \code * \code
* ... * ...
 End of changes. 3 change blocks. 
2 lines changed or deleted 12 lines changed or added


 v8stdint.h   v8stdint.h 
// Copyright 2010 the V8 project authors. All rights reserved. // Copyright 2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without // Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are // modification, are permitted provided that the following conditions are
// met: // met:
// //
// * Redistributions of source code must retain the above copyright // * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer. // notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above // * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following // copyright notice, this list of conditions and the following
// disclaimer in the documentation and/or other materials provided // disclaimer in the documentation and/or other materials provided
// with the distribution. // with the distribution.
skipping to change at line 33 skipping to change at line 33
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Load definitions of standard types. // Load definitions of standard types.
#ifndef V8STDINT_H_ #ifndef V8STDINT_H_
#define V8STDINT_H_ #define V8STDINT_H_
#include <stddef.h>
#include <stdio.h> #include <stdio.h>
#if defined(_WIN32) && !defined(__MINGW32__) #if defined(_WIN32) && !defined(__MINGW32__)
typedef signed char int8_t; typedef signed char int8_t;
typedef unsigned char uint8_t; typedef unsigned char uint8_t;
typedef short int16_t; // NOLINT typedef short int16_t; // NOLINT
typedef unsigned short uint16_t; // NOLINT typedef unsigned short uint16_t; // NOLINT
typedef int int32_t; typedef int int32_t;
typedef unsigned int uint32_t; typedef unsigned int uint32_t;
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 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/