diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-03 15:31:40 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-03 15:31:40 -0800 |
commit | 684cf9c78e20899f8e7d39eda4df17d9756dd44d (patch) | |
tree | 1cf3ac3e4a8cb828f0397e76bfd61c7f9311be56 /src/modules.js | |
parent | 4edb36d31bb553b07c46b44d2c8f28ed27421bb5 (diff) |
minor metadata parsing optimization
Diffstat (limited to 'src/modules.js')
-rw-r--r-- | src/modules.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.js b/src/modules.js index eef02c5b..db43a4e7 100644 --- a/src/modules.js +++ b/src/modules.js @@ -64,7 +64,7 @@ var Debugging = { var calc = form1.exec(line) || form2.exec(line); if (calc) { llvmLineToMetadata[i+1] = calc[1]; - lines[i] = line.replace(', !dbg !' + calc[1], ''); + lines[i] = line.replace(/, !dbg !\d+/, ''); continue; } calc = formStruct.exec(line); |