summaryrefslogtreecommitdiff
path: root/compiler/image_writer.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-07-14 11:37:54 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2015-07-15 10:44:34 +0100
commitc04c800e7bda94abfadc8c2d30f58c50b261b612 (patch)
treec4096b86bde3b8be56be21bf1a72b7a04f227430 /compiler/image_writer.h
parentf68c8545382925062da2b87169ca2b5314f0b431 (diff)
Revert "Revert "Revert "Revert "Make dex2dex return a CompiledMethod after quickening.""""
This reverts commit ed6195a514e3253576af27ea9ba13038509d29ac. Change-Id: Icb58854301e8982147cdebe3edf2e0d9e0a63a56
Diffstat (limited to 'compiler/image_writer.h')
-rw-r--r--compiler/image_writer.h2
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;
}