diff options
Diffstat (limited to 'compiler/image_writer.h')
-rw-r--r-- | compiler/image_writer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/image_writer.h b/compiler/image_writer.h index 9d45ce2bd4..62d8a691af 100644 --- a/compiler/image_writer.h +++ b/compiler/image_writer.h @@ -199,7 +199,7 @@ class ImageWriter FINAL { const uint8_t* GetOatAddress(uint32_t offset) const { // With Quick, code is within the OatFile, as there are all in one // .o ELF object. - DCHECK_LT(offset, oat_file_->Size()); + DCHECK_LE(offset, oat_file_->Size()); DCHECK(oat_data_begin_ != nullptr); return offset == 0u ? nullptr : oat_data_begin_ + offset; } |