Index: runtime/vm/kernel_binary.cc |
diff --git a/runtime/vm/kernel_binary.cc b/runtime/vm/kernel_binary.cc |
index 690224221a32c6004fa61c4083e413d42539dd96..4757791fad23ef7cb4205e623b7e2e18bfc83688 100644 |
--- a/runtime/vm/kernel_binary.cc |
+++ b/runtime/vm/kernel_binary.cc |
@@ -1320,6 +1320,8 @@ AssertStatement* AssertStatement::ReadFrom(Reader* reader) { |
AssertStatement* stmt = new AssertStatement(); |
stmt->kernel_offset_ = reader->offset() - 1; // -1 to include tag byte. |
stmt->condition_ = Expression::ReadFrom(reader); |
+ reader->ReadPosition(); // condition start offset. |
+ reader->ReadPosition(); // condition end offset. |
stmt->message_ = reader->ReadOptional<Expression>(); |
stmt->can_stream_ = stmt->condition_->can_stream() && |