Index: include/v8-profiler.h |
diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
index c393039ca703f969e1aea3ac5464d0eb2976e957..7016a79b81e5dd0e5755dadae0a8d1abdc9d726f 100644 |
--- a/include/v8-profiler.h |
+++ b/include/v8-profiler.h |
@@ -57,6 +57,12 @@ class V8_EXPORT CpuProfileNode { |
*/ |
int GetLineNumber() const; |
+ /** |
+ * Returns 1-based number of the column where the function originates. |
+ * kNoColumnNumberInfo if no column number information is available. |
+ */ |
+ int GetColumnNumber() const; |
+ |
/** Returns bailout reason for the function |
* if the optimization was disabled for it. |
*/ |
@@ -80,6 +86,7 @@ class V8_EXPORT CpuProfileNode { |
const CpuProfileNode* GetChild(int index) const; |
static const int kNoLineNumberInfo = Message::kNoLineNumberInfo; |
+ static const int kNoColumnNumberInfo = Message::kNoColumnInfo; |
}; |