Mercurial > hg > graal-jvmci-8
diff src/share/vm/adlc/formssel.cpp @ 14431:1410ad6b05f1
8028401: PPC (part 117): Improve usability of adlc and format() functionality.
Summary: Add additional, more verbose syntax checks in adlc. Fix printing constant's problem in format().
Reviewed-by: kvn
author | goetz |
---|---|
date | Fri, 15 Nov 2013 12:01:00 -0800 |
parents | 044b28168e20 |
children | 318d0622a6d7 |
line wrap: on
line diff
--- a/src/share/vm/adlc/formssel.cpp Fri Nov 15 14:09:26 2013 -0500 +++ b/src/share/vm/adlc/formssel.cpp Fri Nov 15 12:01:00 2013 -0800 @@ -1276,11 +1276,11 @@ return; } if (strcmp(rep_var, "constantoffset") == 0) { - fprintf(fp, "st->print(\"#%%d\", constant_offset());\n"); + fprintf(fp, "st->print(\"#%%d\", constant_offset_unchecked());\n"); return; } if (strcmp(rep_var, "constantaddress") == 0) { - fprintf(fp, "st->print(\"constant table base + #%%d\", constant_offset());\n"); + fprintf(fp, "st->print(\"constant table base + #%%d\", constant_offset_unchecked());\n"); return; }