Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index d551e21c59d25d467d875aa9c7c8323db788e032..3156670d4af7abc60bb111d5e6690270235e377e 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -681,14 +681,18 @@ bool CompileLazyShared(Handle<SharedFunctionInfo> shared, |
bool CompileLazy(Handle<JSFunction> function, ClearExceptionFlag flag) { |
// Compile the source information to a code object. |
Handle<SharedFunctionInfo> shared(function->shared()); |
- return CompileLazyShared(shared, flag, 0); |
+ bool result = CompileLazyShared(shared, flag, 0); |
+ LOG(FunctionCreateEvent(*function)); |
+ return result; |
} |
bool CompileLazyInLoop(Handle<JSFunction> function, ClearExceptionFlag flag) { |
// Compile the source information to a code object. |
Handle<SharedFunctionInfo> shared(function->shared()); |
- return CompileLazyShared(shared, flag, 1); |
+ bool result = CompileLazyShared(shared, flag, 1); |
+ LOG(FunctionCreateEvent(*function)); |
+ return result; |
} |
OptimizedObjectForAddingMultipleProperties:: |