From 327c5ed30a1f016ef3e1bb26ea7b4abd34eb63b9 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Mon, 13 Jul 2015 11:53:56 +0000 Subject: Revert "Make dex2dex return a CompiledMethod after quickening." Build failures on arm/arm64. This reverts commit 6920703c8eae0d90528ea09945e742582b6f8198. Change-Id: I0dd5426610150937dac6e4d9dd9aa759bdf7fca4 --- compiler/image_writer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/image_writer.h') 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; } -- cgit v1.2.3-59-g8ed1b