WTF's Assertions.h may inadvertantly get included by other projects that are built with -std=c99. The use of the inlined asm statements with the keyword "asm" is not recognized when the -std compiler flag is used. https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html says "When writing code that can be compiled with -ansi and the various -std options, use __asm__ instead of asm (see Alternate Keywords)."
So, to be a good citizen, we can change the use of "asm" in CRASH() to "__asm__" so that we don't break the build of such other projects.
Ditto for bmalloc's BAssert.h.
Created attachment 271874 [details]
Comment on attachment 271874 [details]
Not sure the bmalloc part is necessary, but r=me anyway.
Thanks for the review. Landed in r196871: <http://trac.webkit.org/r196871>.