From: Nicolas Geoffray Date: Tue, 27 Oct 2015 18:18:39 +0000 (+0000) Subject: Remove DCHECK that does not work for gtests. X-Git-Tag: android-x86-7.1-r1~889^2~52^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7d32dbc02beac2cb0217d52b61f2b3ef9974ffa6;p=android-x86%2Fart.git Remove DCHECK that does not work for gtests. Change-Id: I12e11fd2faffa2e53771a0dd988447f9d72b554b --- diff --git a/runtime/oat_quick_method_header.h b/runtime/oat_quick_method_header.h index 03cad0835..c9a2cfbc0 100644 --- a/runtime/oat_quick_method_header.h +++ b/runtime/oat_quick_method_header.h @@ -43,8 +43,6 @@ class PACKED(4) OatQuickMethodHeader { static OatQuickMethodHeader* FromCodePointer(const void* code_ptr) { uintptr_t code = reinterpret_cast(code_ptr); uintptr_t header = code - OFFSETOF_MEMBER(OatQuickMethodHeader, code_); - DCHECK(IsAlignedParam(code, GetInstructionSetAlignment(kRuntimeISA)) || - IsAlignedParam(header, GetInstructionSetAlignment(kRuntimeISA))); return reinterpret_cast(header); }