Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index e42d78ecdcba94ca9355b69b201fdbbf0fcbe092..f339ae02947177d49f3da021117237479c982be6 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -816,7 +816,7 @@ bool Isolate::Init(Deserializer* des) { |
// If we are deserializing, log non-function code objects and compiled |
// functions found in the snapshot. |
- if (des != NULL && FLAG_log_code) { |
+ if (des != NULL && (FLAG_log_code || FLAG_ll_prof)) { |
HandleScope scope; |
LOG(this, LogCodeObjects()); |
LOG(this, LogCompiledFunctions()); |