annotate make/solaris/makefiles/build_vm_def.sh @ 12785:c13633a4d472
peephole optimization to remove null checks at the LIR level
author |
Lukas Stadler <lukas.stadler@jku.at> |
date |
Wed, 20 Nov 2013 12:09:33 +0100 |
parents |
da0999c4b733 |
children |
|
rev |
line source |
3954
|
1 #!/bin/sh
|
|
2
|
|
3 /usr/ccs/bin/nm -p $* \
|
|
4 | awk '{
|
|
5 if ($2 == "U") next
|
|
6 if ($3 ~ /^__1c.*__vtbl_$/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
|
|
7 if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
|
|
8 if ($3 ~ /^__1cJArgumentsRSharedArchivePath_$/) print "\t" $3 ";"
|
|
9 }' \
|
|
10 | sort -u
|