commit | 7fae86c62a9ffeb94a7c11f1660c94873368dcec | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Sat Sep 11 01:42:49 2021 +0800 |
committer | Yi Kong <yikong@google.com> | Sat Sep 11 01:50:45 2021 +0800 |
tree | 6b5ff39982b80ea16856ee8bd39132047de4b8ae | |
parent | 1c494e36f246a982070e125dec3c1139f9289c6e [diff] |
Make sure only comments are stripped The regex " +#.*" could also match immediates on ARM, e.g. cmp r1, #1234 Fix it by requiring a space after the hash mark. Test: art_compiler_host_tests Change-Id: I3cf038ff6547edad8a417961d8bb2b27c0872f51