summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2016-03-11 19:25:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-03-11 19:25:45 +0000
commit5e447d872a9529e5002d08dd97643c400ba9176c (patch)
tree4f895ce35edae081ec01f2c4c375d2afb85d818a
parentfe9242b97d3270e28d88971be71593787342cc4f (diff)
parent6832fbe366dd4fc79daa8976f8edbe78d4591649 (diff)
Merge "Fix DCHECK in OatQuickMethodHeader::GetFrameSizeInBytes()"
-rw-r--r--runtime/oat_quick_method_header.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/oat_quick_method_header.h b/runtime/oat_quick_method_header.h
index 59c37e4915..daabc6ee09 100644
--- a/runtime/oat_quick_method_header.h
+++ b/runtime/oat_quick_method_header.h
@@ -119,7 +119,7 @@ class PACKED(4) OatQuickMethodHeader {
uint32_t GetFrameSizeInBytes() const {
uint32_t result = frame_info_.FrameSizeInBytes();
if (kCheckFrameSize) {
- DCHECK_LE(static_cast<size_t>(kStackAlignment), result);
+ DCHECK_ALIGNED(result, kStackAlignment);
}
return result;
}