v8-profiler.h   v8-profiler.h 
skipping to change at line 77 skipping to change at line 77
typedef uint32_t SnapshotObjectId; typedef uint32_t SnapshotObjectId;
/** /**
* CpuProfileNode represents a node in a call graph. * CpuProfileNode represents a node in a call graph.
*/ */
class V8EXPORT CpuProfileNode { class V8EXPORT CpuProfileNode {
public: public:
/** Returns function name (empty string for anonymous functions.) */ /** Returns function name (empty string for anonymous functions.) */
Handle<String> GetFunctionName() const; Handle<String> GetFunctionName() const;
/** Returns id of the script where function is located. */
int GetScriptId() const;
/** Returns resource name for script from where the function originates. */ /** Returns resource name for script from where the function originates. */
Handle<String> GetScriptResourceName() const; Handle<String> GetScriptResourceName() const;
/** /**
* Returns the number, 1-based, of the line where the function originates . * Returns the number, 1-based, of the line where the function originates .
* kNoLineNumberInfo if no line number information is available. * kNoLineNumberInfo if no line number information is available.
*/ */
int GetLineNumber() const; int GetLineNumber() const;
/** /**
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added


 v8.h   v8.h 
skipping to change at line 3903 skipping to change at line 3903
*/ */
intptr_t AdjustAmountOfExternalAllocatedMemory(intptr_t change_in_bytes); intptr_t AdjustAmountOfExternalAllocatedMemory(intptr_t change_in_bytes);
/** /**
* Returns heap profiler for this isolate. Will return NULL until the iso late * Returns heap profiler for this isolate. Will return NULL until the iso late
* is initialized. * is initialized.
*/ */
HeapProfiler* GetHeapProfiler(); HeapProfiler* GetHeapProfiler();
/** /**
* Returns CPU profiler for this isolate. Will return NULL until the isol * Returns CPU profiler for this isolate. Will return NULL unless the iso
ate late
* is initialized. * is initialized. It is the embedder's responsibility to stop all CPU
* profiling activities if it has started any.
*/ */
CpuProfiler* GetCpuProfiler(); CpuProfiler* GetCpuProfiler();
/** Returns the context that is on the top of the stack. */ /** Returns the context that is on the top of the stack. */
Local<Context> GetCurrentContext(); Local<Context> GetCurrentContext();
/** /**
* Allows the host application to group objects together. If one * Allows the host application to group objects together. If one
* object in the group is alive, all objects in the group are alive. * object in the group is alive, all objects in the group are alive.
* After each garbage collection, object groups are removed. It is * After each garbage collection, object groups are removed. It is
skipping to change at line 4721 skipping to change at line 4722
private: private:
// Make it hard to create heap-allocated TryCatch blocks. // Make it hard to create heap-allocated TryCatch blocks.
TryCatch(const TryCatch&); TryCatch(const TryCatch&);
void operator=(const TryCatch&); void operator=(const TryCatch&);
void* operator new(size_t size); void* operator new(size_t size);
void operator delete(void*, size_t); void operator delete(void*, size_t);
v8::internal::Isolate* isolate_; v8::internal::Isolate* isolate_;
void* next_; void* next_;
void* exception_; void* exception_;
void* message_; void* message_obj_;
void* message_script_;
int message_start_pos_;
int message_end_pos_;
bool is_verbose_ : 1; bool is_verbose_ : 1;
bool can_continue_ : 1; bool can_continue_ : 1;
bool capture_message_ : 1; bool capture_message_ : 1;
bool rethrow_ : 1; bool rethrow_ : 1;
bool has_terminated_ : 1; bool has_terminated_ : 1;
friend class v8::internal::Isolate; friend class v8::internal::Isolate;
}; };
// --- Context --- // --- Context ---
skipping to change at line 5285 skipping to change at line 5289
static const int kNodeIsPartiallyDependentShift = 5; static const int kNodeIsPartiallyDependentShift = 5;
static const int kJSObjectType = 0xb0; static const int kJSObjectType = 0xb0;
static const int kFirstNonstringType = 0x80; static const int kFirstNonstringType = 0x80;
static const int kOddballType = 0x83; static const int kOddballType = 0x83;
static const int kForeignType = 0x88; static const int kForeignType = 0x88;
static const int kUndefinedOddballKind = 5; static const int kUndefinedOddballKind = 5;
static const int kNullOddballKind = 3; static const int kNullOddballKind = 3;
static void CheckInitializedImpl(v8::Isolate* isolate);
V8_INLINE(static void CheckInitialized(v8::Isolate* isolate)) {
#ifdef V8_ENABLE_CHECKS #ifdef V8_ENABLE_CHECKS
static void CheckInitialized(v8::Isolate* isolate); CheckInitializedImpl(isolate);
#else
static void CheckInitialized(v8::Isolate* isolate) { }
#endif #endif
}
V8_INLINE(static bool HasHeapObjectTag(internal::Object* value)) { V8_INLINE(static bool HasHeapObjectTag(internal::Object* value)) {
return ((reinterpret_cast<intptr_t>(value) & kHeapObjectTagMask) == return ((reinterpret_cast<intptr_t>(value) & kHeapObjectTagMask) ==
kHeapObjectTag); kHeapObjectTag);
} }
V8_INLINE(static int SmiValue(internal::Object* value)) { V8_INLINE(static int SmiValue(internal::Object* value)) {
return PlatformSmiTagging::SmiToInt(value); return PlatformSmiTagging::SmiToInt(value);
} }
 End of changes. 5 change blocks. 
7 lines changed or deleted 12 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/