Revision: 13683
Author: [email protected]
Date: Mon Feb 18 04:22:04 2013
Log: Fix bogus assertion.
[email protected]
BUG=
Review URL: https://chromiumcodereview.appspot.com/12303006
http://code.google.com/p/v8/source/detail?r=13683
Modified:
/branches/bleeding_edge/src/runtime.cc
=======================================
--- /branches/bleeding_edge/src/runtime.cc Fri Feb 15 01:27:10 2013
+++ /branches/bleeding_edge/src/runtime.cc Mon Feb 18 04:22:04 2013
@@ -5837,12 +5837,12 @@
// Requires: all bytes in the input word and the boundaries must be
// ASCII (less than 0x7F).
static inline uintptr_t AsciiRangeMask(uintptr_t w, char m, char n) {
- // Every byte in an ASCII string is less than or equal to 0x7F.
- ASSERT((w & (kOneInEveryByte * 0x7F)) == w);
// Use strict inequalities since in edge cases the function could be
// further simplified.
ASSERT(0 < m && m < n);
#ifndef ENABLE_LATIN_1
+ // Every byte in an ASCII string is less than or equal to 0x7F.
+ ASSERT((w & (kOneInEveryByte * 0x7F)) == w);
ASSERT(n < 0x7F);
#endif
// Has high bit set in every w byte less than n.
--
--
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/groups/opt_out.