Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 0c6c4355aad9cff1577b8d262c119c1f593cdeeb..11c7a88de06d2622803eab6b0dc65646c7ca0b3c 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -1221,8 +1221,7 @@ void Logger::CodeCreateEvent(LogEventsAndTags tag, |
CALL_LISTENERS(CodeCreateEvent(tag, code, shared, info, name)); |
if (!FLAG_log_code || !log_->IsEnabled()) return; |
- if (code == isolate_->builtins()->builtin(Builtins::kCompileUnoptimized)) |
- return; |
+ if (code == isolate_->builtins()->builtin(Builtins::kCompileLazy)) return; |
Log::MessageBuilder msg(log_); |
AppendCodeCreateHeader(&msg, tag, code); |
@@ -1755,8 +1754,7 @@ void Logger::LogCompiledFunctions() { |
// During iteration, there can be heap allocation due to |
// GetScriptLineNumber call. |
for (int i = 0; i < compiled_funcs_count; ++i) { |
- if (code_objects[i].is_identical_to( |
- isolate_->builtins()->CompileUnoptimized())) |
+ if (code_objects[i].is_identical_to(isolate_->builtins()->CompileLazy())) |
continue; |
LogExistingFunction(sfis[i], code_objects[i]); |
} |