Index: include/v8-profiler.h |
diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
index 65a2f9ab673596af3f6e1d12418e99b0a7570fb1..d7350db9f372006208a5227ad195cd0595636bf7 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. |
*/ |