commit | 45232a423e8ceb64abf51100c26b693781c0d897 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Tue Jul 22 14:04:34 2014 -0700 |
committer | Andreas Gampe <agampe@google.com> | Tue Jul 22 21:08:27 2014 +0000 |
tree | 1b03fded252d0b536de5bd887868618a6005597c | |
parent | 306cd2179fc73c0b187102b7e70abf12cb47debf [diff] [blame] |
ART: Fix checks for relocation delta Change < to <= and > to >=. Change-Id: I7579e3c13dc1b33801ace3a0f8d85cadaee41e6e
diff --git a/runtime/gc/space/image_space.cc b/runtime/gc/space/image_space.cc index 3eaa64c..7a3cbf3 100644 --- a/runtime/gc/space/image_space.cc +++ b/runtime/gc/space/image_space.cc
@@ -159,8 +159,8 @@ } else { r = RoundDown(r, kPageSize); } - CHECK_LT(min_delta, r); - CHECK_GT(max_delta, r); + CHECK_LE(min_delta, r); + CHECK_GE(max_delta, r); CHECK_ALIGNED(r, kPageSize); return r; }