Chromium Code Reviews| Index: szdiff.py |
| diff --git a/szdiff.py b/szdiff.py |
| index 046982ea2b87b540b3213e3f03ff8d6bbaecb2a0..2fdc613047b7e892d88e309dbb3cfeb6df68bbc2 100755 |
| --- a/szdiff.py |
| +++ b/szdiff.py |
| @@ -42,7 +42,7 @@ if __name__ == '__main__': |
| llc_out = [] |
| tail_call = re.compile(' tail call '); |
| trailing_comment = re.compile(';.*') |
| - ignore_pattern = re.compile('^ *$|^declare|^@') |
| + ignore_pattern = re.compile('^ *$|^declare|^@.*\]$') |
|
Jim Stichnoth
2014/06/27 00:24:14
This makes szdiff not ignore global initializers.
|
| prev_line = None |
| for line in bitcode: |
| if prev_line: |