Bug 771378 (part 3) - Remove MUST_FLOW_THROUGH and related things. r=jwalden.

--HG--
extra : rebase_source : cf7a8638b7ce8a9313561f22686dc16371d14756
This commit is contained in:
Nicholas Nethercote 2012-07-17 16:40:25 -07:00
Родитель a6326a845f
Коммит a3acb2e0a2
1 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -358,19 +358,6 @@ ClearAllBitArrayElements(size_t *array, size_t length)
#define JS_ROTATE_LEFT32(a, bits) (((a) << (bits)) | ((a) >> (32 - (bits))))
#endif
/* Static control-flow checks. */
#ifdef NS_STATIC_CHECKING
/* Trigger a control flow check to make sure that code flows through label */
inline __attribute__ ((unused)) void MUST_FLOW_THROUGH(const char *label) {}
/* Avoid unused goto-label warnings. */
# define MUST_FLOW_LABEL(label) goto label; label:
#else
# define MUST_FLOW_THROUGH(label) ((void) 0)
# define MUST_FLOW_LABEL(label)
#endif
/* Crash diagnostics */
#ifdef DEBUG
# define JS_CRASH_DIAGNOSTICS 1