8068396: Rename assert() to vmassert()

Macro renaming, with temporary old name synonyms for compatibilty

Reviewed-by: ehelin, dholmes, coleenp
This commit is contained in:
Kim Barrett 2015-01-13 14:30:53 -05:00
parent 9000f8c3c7
commit 77f22c1241
5 changed files with 28 additions and 67 deletions

View file

@ -334,9 +334,9 @@ void test_error_handler() {
// Keep this in sync with test/runtime/6888954/vmerrors.sh.
switch (n) {
case 1: assert(str == NULL, "expected null");
case 2: assert(num == 1023 && *str == 'X',
err_msg("num=" SIZE_FORMAT " str=\"%s\"", num, str));
case 1: vmassert(str == NULL, "expected null");
case 2: vmassert(num == 1023 && *str == 'X',
err_msg("num=" SIZE_FORMAT " str=\"%s\"", num, str));
case 3: guarantee(str == NULL, "expected null");
case 4: guarantee(num == 1023 && *str == 'X',
err_msg("num=" SIZE_FORMAT " str=\"%s\"", num, str));