Mercurial > hg > graal-compiler
diff src/cpu/ppc/vm/templateInterpreter_ppc.cpp @ 17848:6048424d3865
8038201: Clean up misleading usage of malloc() in init_system_properties_values()
Summary: Remove the misleading malloc macro and cleanup the code
Reviewed-by: dsamersoff, kvn
Contributed-by: goetz.lindenmaier@sap.com
author | goetz |
---|---|
date | Thu, 10 Apr 2014 04:07:45 -0700 |
parents | fd1b9f02cc91 |
children | 63c5920a038d |
line wrap: on
line diff
--- a/src/cpu/ppc/vm/templateInterpreter_ppc.cpp Thu Feb 27 09:37:16 2014 +0100 +++ b/src/cpu/ppc/vm/templateInterpreter_ppc.cpp Thu Apr 10 04:07:45 2014 -0700 @@ -1672,7 +1672,7 @@ //__ flush_bundle(); address entry = __ pc(); - char *bname = NULL; + const char *bname = NULL; uint tsize = 0; switch(state) { case ftos: