Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index e08e26ebd4bb2abab44e51da1f5b26b4bd1aa77b..ecc7b1c7adcb41acebac0d0f749bba113bf4144b 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -266,15 +266,12 @@ class Compiler : public AllStatic { |
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 |
+ static void RecordFunctionCompilation(Logger::LogEventsAndTags tag, |
+ Handle<String> name, |
+ Handle<String> inferred_name, |
+ int start_position, |
+ Handle<Script> script, |
+ Handle<Code> code); |
}; |