OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
903ef50
)
Remove DCHECK that does not work for gtests.
author
Nicolas Geoffray
<ngeoffray@google.com>
Tue, 27 Oct 2015 18:18:39 +0000
(18:18 +0000)
committer
Nicolas Geoffray
<ngeoffray@google.com>
Tue, 27 Oct 2015 18:18:39 +0000
(18:18 +0000)
Change-Id: I12e11fd2faffa2e53771a0dd988447f9d72b554b
runtime/oat_quick_method_header.h
patch
|
blob
|
history
diff --git
a/runtime/oat_quick_method_header.h
b/runtime/oat_quick_method_header.h
index
03cad08
..
c9a2cfb
100644
(file)
--- 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<uintptr_t>(code_ptr);
uintptr_t header = code - OFFSETOF_MEMBER(OatQuickMethodHeader, code_);
- DCHECK(IsAlignedParam(code, GetInstructionSetAlignment(kRuntimeISA)) ||
- IsAlignedParam(header, GetInstructionSetAlignment(kRuntimeISA)));
return reinterpret_cast<OatQuickMethodHeader*>(header);
}