| Index: src/isolate.cc | 
| diff --git a/src/isolate.cc b/src/isolate.cc | 
| index 85ae32ac4ebeab0dcdc85cbfd3133798e6d35c67..ef4e0af647128c51e7e0f4f0948935ca52c30491 100644 | 
| --- a/src/isolate.cc | 
| +++ b/src/isolate.cc | 
| @@ -2028,7 +2028,7 @@ bool Isolate::Init(Deserializer* des) { | 
|  | 
| // If we are deserializing, log non-function code objects and compiled | 
| // functions found in the snapshot. | 
| -  if (create_heap_objects && | 
| +  if (!create_heap_objects && | 
| (FLAG_log_code || FLAG_ll_prof || logger_->is_logging_code_events())) { | 
| HandleScope scope; | 
| LOG(this, LogCodeObjects()); | 
|  |