Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 298d2e6547df21f2adf450a2975ee7fd0a4c9356..6fc671c50c404d66b11c7bfe92eed7883ac698e9 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -818,7 +818,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()); |