| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 6de4dfd3dea4667c987bd0ea20061ba0a597e19e..e35d8c5731ff225faca5b3c0b30b586163d2a319 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -7235,6 +7235,12 @@ int CpuProfileNode::GetLineNumber() const {
|
| }
|
|
|
|
|
| +const char* CpuProfileNode::GetBailoutReason() const {
|
| + const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
|
| + return node->entry()->bailout_reason();
|
| +}
|
| +
|
| +
|
| double CpuProfileNode::GetSelfSamplesCount() const {
|
| i::Isolate* isolate = i::Isolate::Current();
|
| IsDeadCheck(isolate, "v8::CpuProfileNode::GetSelfSamplesCount");
|
|
|