Chromium Code Reviews| Index: runtime/third_party/jscre/pcre_internal.h |
| =================================================================== |
| --- runtime/third_party/jscre/pcre_internal.h (revision 16936) |
| +++ runtime/third_party/jscre/pcre_internal.h (working copy) |
| @@ -83,8 +83,8 @@ |
| #ifndef DFTABLES |
| // TODO(xxx): Hook this up to something that checks assertions. |
| -#define ASSERT(x) if (!(x)) *(reinterpret_cast<int*>(NULL)) = NULL |
| -#define ASSERT_NOT_REACHED() *(reinterpret_cast<int*>(NULL)) = NULL |
| +#define ASSERT(x) if (!(x)) *(reinterpret_cast<volatile int*>(NULL)) = NULL |
|
Kevin Millikin (Google)
2013/01/11 11:30:59
Drive by: shouldn't this be fixed upstream in WebK
|
| +#define ASSERT_NOT_REACHED() *(reinterpret_cast<volatile int*>(NULL)) = NULL |
| #ifdef WIN32 |
| #pragma warning(disable: 4232) |