Chromium Code Reviews| Index: include/v8.h |
| =================================================================== |
| --- include/v8.h (revision 10490) |
| +++ include/v8.h (working copy) |
| @@ -1732,6 +1732,14 @@ |
| V8EXPORT Handle<Value> GetName() const; |
| /** |
| + * Name inferred from variable or property assignment of this function. |
| + * Used to facilitate debugging and profiling of JavaScript code written |
| + * in OO style, where almost all functions are anonymous but are assigned |
|
danno
2012/01/25 12:34:10
nit: s/in OO/in an OO/
nit: s/almost all/many
yurys
2012/01/25 12:43:58
Done.
|
| + * to object properties. |
| + */ |
| + V8EXPORT Handle<Value> GetInferredName() const; |
| + |
| + /** |
| * Returns zero based line number of function body and |
| * kLineOffsetNotFound if no information available. |
| */ |