Index: src/log.h |
=================================================================== |
--- src/log.h (revision 1294) |
+++ src/log.h (working copy) |
@@ -215,6 +215,10 @@ |
private: |
+ // Calculate the size of the code object to report for log events. This takes |
+ // the layout of the code object into account. |
+ static int CodeObjectSize(Code* code); |
+ |
// Emits the source code of a regexp. Used by regexp events. |
static void LogRegExpSource(Handle<JSRegExp> regexp); |