Changeset 18117 in vbox for trunk/src/recompiler/Sun/op-validate.sed
- Timestamp:
- Mar 20, 2009 1:33:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/Sun/op-validate.sed
r4541 r18117 2 2 ## @file 3 3 # 4 # Just some qui tsed hacks for validating an op.S assembly file.4 # Just some quick sed hacks for validating an op.S assembly file. 5 5 # Will try this with gcc 4.x later to see if we can permit gcc 4 6 6 # to build op.c by using this script as guard against bad code. 7 7 # 8 8 9 ## @todo need to check that we've the got two __op_label[0 -1].op_goto_tb[0-1] symbols!9 ## @todo need to check that we've the got two __op_label[01].op_goto_tb[01] symbols! 10 10 11 11 # if (ret) goto return … … 61 61 N 62 62 s/^[[:blank:]]*ret[[:blank:]]*\n*[[:blank:]]*// 63 /\.Lfe[ 0-9][0-9]*:/d64 /\.LFE[ 0-9][0-9]*:/d63 /\.Lfe[[:digit:]][[:digit:]]*:/d 64 /\.LFE[[:digit:]][[:digit:]]*:/d 65 65 /size[[:space:]]/d 66 66 /^[/#]NO_APP[[:space:]]*$/d … … 74 74 #/^[[:blank:]]*jmp/ 75 75 :jump 76 s/^[[:space:]]*j[ a-z]*[[:space:]][[:space:]]*//76 s/^[[:space:]]*j[[:lower:]]*[[:space:]][[:space:]]*// 77 77 /^\.L/d 78 78 /^[1-9][fb]$/d … … 84 84 b end 85 85 86 # An error was found 86 # An error was found. 87 87 :bad 88 88 q 1 89 89 90 # next expression90 # Next expression. 91 91 :end 92 92
Note:
See TracChangeset
for help on using the changeset viewer.