| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 6b234bc2bd3c00035e9fb5ba3cdb0e08d526992c..2a8c873a02c09e6971c786b39752f0d9209a3e76 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -9338,6 +9338,12 @@ void debug::ResetBlackboxedStateCache(Isolate* v8_isolate,
|
| }
|
| }
|
|
|
| +int debug::ValueSize(Isolate* v8_isolate, v8::Local<v8::Value> value) {
|
| + i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate);
|
| + ENTER_V8(isolate);
|
| + return i::Handle<i::HeapObject>::cast(Utils::OpenHandle(*value))->Size();
|
| +}
|
| +
|
| Local<String> CpuProfileNode::GetFunctionName() const {
|
| const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
|
| i::Isolate* isolate = node->isolate();
|
|
|