Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index 266da01e81e8661e5f9d2a0e032368a0ec259136..1fcbc94c760a753ee4931bd633b580c9bc2b8fb1 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -200,6 +200,17 @@ class Compiler : public AllStatic { |
FunctionLiteral* lit, |
bool is_toplevel, |
Handle<Script> script); |
+ |
+ private: |
+ |
+#if defined ENABLE_LOGGING_AND_PROFILING || defined ENABLE_OPROFILE_AGENT |
+ static void LogCodeCreateEvent(Logger::LogEventsAndTags tag, |
+ Handle<String> name, |
+ Handle<String> inferred_name, |
+ int start_position, |
+ Handle<Script> script, |
+ Handle<Code> code); |
+#endif |
}; |