Commit 7e4de510 authored by jarin@chromium.org's avatar jarin@chromium.org

Fix NaCl build.

R=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/527273003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23625 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 2f6e39d7
......@@ -84,12 +84,10 @@ TEST(Bits, RoundUpToPowerOfTwo32) {
}
#if 0
// TODO(bmeurer): Fix this on NaCL builds.
TEST(BitsDeathTest, DISABLE_IN_RELEASE(RoundUpToPowerOfTwo32)) {
ASSERT_DEATH({ RoundUpToPowerOfTwo32(0x80000001u); }, "0x80000000");
ASSERT_DEATH_IF_SUPPORTED({ RoundUpToPowerOfTwo32(0x80000001u); },
"0x80000000");
}
#endif
TEST(Bits, RoundDownToPowerOfTwo32) {
......
......@@ -114,7 +114,7 @@ bool Semaphore::WaitFor(const TimeDelta& rel_time) {
do {
int result = sem_trywait(&native_handle_);
if (result == 0) return true;
DCHECK(errno == EAGAIN || error == EINTR);
DCHECK(errno == EAGAIN || errno == EINTR);
} while (!timer.HasExpired(rel_time));
return false;
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment