Index: include/v8-profiler.h |
diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
index 1932fb8cd767b16cbcb3faaf693283605be11381..c0f856d355ff22e9f1f62e1a3b16fe40452fa669 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. |
+ */ |
+ Handle<String> GetBailoutReason() const; |
yurys
2013/09/02 14:40:05
Can we start returning const char* instead of JS s
loislo
2013/09/02 16:03:45
Done.
|
+ |
/** DEPRECATED. Please use GetHitCount instead. |
* Returns the count of samples where function was currently executing. |
*/ |