Index: runtime/vm/clustered_snapshot.cc |
diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc |
index 3439477ad416f94bca7ddee36fffafb885986a98..7b5714f85762d729f96ccfef076268c6ce9fa38d 100644 |
--- a/runtime/vm/clustered_snapshot.cc |
+++ b/runtime/vm/clustered_snapshot.cc |
@@ -4958,8 +4958,7 @@ Deserializer::Deserializer(Thread* thread, |
clusters_(NULL) { |
if (Snapshot::IncludesCode(kind)) { |
ASSERT(instructions_buffer != NULL); |
- } |
- if (instructions_buffer != NULL) { |
+ ASSERT(data_buffer != NULL); |
image_reader_ = new (zone_) ImageReader(instructions_buffer, data_buffer); |
} |
} |