summaryrefslogtreecommitdiff
path: root/compiler/image_writer.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-07-13 11:53:56 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2015-07-13 11:53:56 +0000
commit327c5ed30a1f016ef3e1bb26ea7b4abd34eb63b9 (patch)
tree55d58d66f154edade95e909a6badf3bb43f75be9 /compiler/image_writer.h
parent6920703c8eae0d90528ea09945e742582b6f8198 (diff)
Revert "Make dex2dex return a CompiledMethod after quickening."
Build failures on arm/arm64. This reverts commit 6920703c8eae0d90528ea09945e742582b6f8198. Change-Id: I0dd5426610150937dac6e4d9dd9aa759bdf7fca4
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 62d8a691af..9d45ce2bd4 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_LE(offset, oat_file_->Size());
+ DCHECK_LT(offset, oat_file_->Size());
DCHECK(oat_data_begin_ != nullptr);
return offset == 0u ? nullptr : oat_data_begin_ + offset;
}