Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 11eaf924a27c88decff9fb87f820ef846473572b..32a3db643c950cdc8c7be0ce28d259d73ddb9a5b 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6928,6 +6928,12 @@ int CpuProfileNode::GetLineNumber() const { |
} |
+int CpuProfileNode::GetColumnNumber() const { |
+ return reinterpret_cast<const i::ProfileNode*>(this)-> |
+ entry()->column_number(); |
+} |
+ |
+ |
const char* CpuProfileNode::GetBailoutReason() const { |
const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this); |
return node->entry()->bailout_reason(); |