Index: include/v8-profiler.h |
diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
index 1932fb8cd767b16cbcb3faaf693283605be11381..6923d9afb52f2055c1cbdad395a0a1094e2f32dc 100644 |
--- a/include/v8-profiler.h |
+++ b/include/v8-profiler.h |
@@ -57,6 +57,11 @@ class V8_EXPORT CpuProfileNode { |
*/ |
int GetLineNumber() const; |
+ /** Returns bailout reason for the function |
+ * if the optimization was disabled for it. |
+ */ |
+ const char* GetBailoutReason() const; |
+ |
/** DEPRECATED. Please use GetHitCount instead. |
* Returns the count of samples where function was currently executing. |
*/ |