summaryrefslogtreecommitdiff
path: root/deps/v8/include/v8-profiler.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-08-13 07:43:53 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-08-13 07:43:53 -0700
commit4bbab1434635ada79b5a82a06872a15870213a52 (patch)
tree16031868188935d0e996fb83d64ae0dd82a38297 /deps/v8/include/v8-profiler.h
parent0e8d858aba114c77b3fce96d052e2df162597ff2 (diff)
downloadnode-new-4bbab1434635ada79b5a82a06872a15870213a52.tar.gz
Revert "Upgrade V8 to 2.3.7"
This reverts commit 083ee0f8b7a8d98d51bf2debf47d68117f13087f. V8 build broken on cygwin: ./deps/v8/src/handles.h:62: instantiated from `T* v8::internal::Handle<T>::operator->() const [with T = v8::internal::Code]' ./deps/v8/src/accessors.cc:396: instantiated from here ./deps/v8/src/handles-inl.h:50: error: call of overloaded `BitCast(v8::internal::Code** const&)' is ambiguous ./deps/v8/src/utils.h:732: note: candidates are: Dest v8::internal::BitCast(const Source&) [with Dest = v8::internal::Code**, Source = v8::internal::Code**] ./deps/v8/src/utils.h:743: note: Dest v8::internal::BitCast(Source* const&) [with Dest = v8::internal::Code**, Source = v8::internal::Code*] scons: *** [obj/release/accessors.o] Error 1
Diffstat (limited to 'deps/v8/include/v8-profiler.h')
-rw-r--r--deps/v8/include/v8-profiler.h30
1 files changed, 14 insertions, 16 deletions
diff --git a/deps/v8/include/v8-profiler.h b/deps/v8/include/v8-profiler.h
index 9e3cb873c6..c99eb0d9f8 100644
--- a/deps/v8/include/v8-profiler.h
+++ b/deps/v8/include/v8-profiler.h
@@ -194,10 +194,10 @@ class HeapGraphNode;
class V8EXPORT HeapGraphEdge {
public:
enum Type {
- kContextVariable = 0, // A variable from a function context.
- kElement = 1, // An element of an array.
- kProperty = 2, // A named object property.
- kInternal = 3 // A link that can't be accessed from JS,
+ CONTEXT_VARIABLE = 0, // A variable from a function context.
+ ELEMENT = 1, // An element of an array.
+ PROPERTY = 2, // A named object property.
+ INTERNAL = 3 // A link that can't be accessed from JS,
// thus, its name isn't a real property name.
};
@@ -240,12 +240,12 @@ class V8EXPORT HeapGraphPath {
class V8EXPORT HeapGraphNode {
public:
enum Type {
- kInternal = 0, // Internal node, a virtual one, for housekeeping.
- kArray = 1, // An array of elements.
- kString = 2, // A string.
- kObject = 3, // A JS object (except for arrays and strings).
- kCode = 4, // Compiled code.
- kClosure = 5 // Function closure.
+ INTERNAL = 0, // Internal node, a virtual one, for housekeeping.
+ ARRAY = 1, // An array of elements.
+ STRING = 2, // A string.
+ OBJECT = 3, // A JS object (except for arrays and strings).
+ CODE = 4, // Compiled code.
+ CLOSURE = 5 // Function closure.
};
/** Returns node type (see HeapGraphNode::Type). */
@@ -268,15 +268,13 @@ class V8EXPORT HeapGraphNode {
int GetSelfSize() const;
/** Returns node's network (self + reachable nodes) size, in bytes. */
- int GetReachableSize() const;
+ int GetTotalSize() const;
/**
- * Returns node's retained size, in bytes. That is, self + sizes of
- * the objects that are reachable only from this object. In other
- * words, the size of memory that will be reclaimed having this node
- * collected.
+ * Returns node's private size, in bytes. That is, the size of memory
+ * that will be reclaimed having this node collected.
*/
- int GetRetainedSize() const;
+ int GetPrivateSize() const;
/** Returns child nodes count of the node. */
int GetChildrenCount() const;