Revision: 23625
Author: [email protected]
Date: Tue Sep 2 15:22:36 2014 UTC
Log: Fix NaCl build.
[email protected]
BUG=
Review URL: https://codereview.chromium.org/527273003
https://code.google.com/p/v8/source/detail?r=23625
Modified:
/branches/bleeding_edge/src/base/bits-unittest.cc
/branches/bleeding_edge/src/base/platform/semaphore.cc
=======================================
--- /branches/bleeding_edge/src/base/bits-unittest.cc Tue Sep 2 14:52:50
2014 UTC
+++ /branches/bleeding_edge/src/base/bits-unittest.cc Tue Sep 2 15:22:36
2014 UTC
@@ -84,12 +84,10 @@
}
-#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) {
=======================================
--- /branches/bleeding_edge/src/base/platform/semaphore.cc Fri Aug 29
09:39:28 2014 UTC
+++ /branches/bleeding_edge/src/base/platform/semaphore.cc Tue Sep 2
15:22:36 2014 UTC
@@ -114,7 +114,7 @@
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
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.