OSDN Git Service

Improve use of CHECK macros.
authorIan Rogers <irogers@google.com>
Wed, 12 Mar 2014 21:32:27 +0000 (14:32 -0700)
committerIan Rogers <irogers@google.com>
Wed, 12 Mar 2014 21:45:52 +0000 (14:45 -0700)
commit5d057056db1923947ba846b391d981759b15714a
tree0e996c005077946f7505c333b65e7aee16a99bcb
parent37d4c1db4d705f5a28001f65afdd68d0527948d8
Improve use of CHECK macros.

Motivated by a bogus compiler warning for debug with O2, switch from
CHECK(x < y) to the recommended CHECK_LT(x, y). Fix bug in
RosAlloc::Initialize where an assignment was being performed within
a DCHECK.

Change-Id: Iaf466849ae79ae1497162e81a3e092bf13109aa9
runtime/gc/allocator/rosalloc.cc