Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index d4c593f9aa2b6b6063476602746226ae3728c64e..05cb3f2b383ab32c279e8fe058a572733647c56e 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -737,7 +737,7 @@ bool CompileLazy(Handle<JSFunction> function, |
ClearExceptionFlag flag) { |
CompilationInfo info(function, 0, receiver); |
bool result = CompileLazyHelper(&info, flag); |
- LOG(FunctionCreateEvent(*function)); |
+ PROFILE(FunctionCreateEvent(*function)); |
return result; |
} |
@@ -747,7 +747,7 @@ bool CompileLazyInLoop(Handle<JSFunction> function, |
ClearExceptionFlag flag) { |
CompilationInfo info(function, 1, receiver); |
bool result = CompileLazyHelper(&info, flag); |
- LOG(FunctionCreateEvent(*function)); |
+ PROFILE(FunctionCreateEvent(*function)); |
return result; |
} |