diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-27 16:04:16 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-27 16:04:16 -0700 |
commit | 040aa2d32ae0b891426763ccd80890b5357e70a8 (patch) | |
tree | 3153d219a723cd0536fe3c6169d104e6793d0bc3 | |
parent | 6cf78084545fca66bac20a047e01312077e0ed7f (diff) |
fix fast path regexp
-rw-r--r-- | src/intertyper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js index d4e9c7b4..0fe58b7a 100644 --- a/src/intertyper.js +++ b/src/intertyper.js @@ -1014,7 +1014,7 @@ function intertyper(lines, sidePass, baseLineNums) { } } else if (phase === 'funcs') { // simple gep - if (m = / (%[\w\d\._]+) = getelementptr (?:inbounds )?([%\w\d\._ ,\*-@]+$)/.exec(line.lineText)) { + if (m = / (%[\w\d\._]+) = getelementptr (?:inbounds )?([%\w\d\._ ,\*\-@]+$)/.exec(line.lineText)) { var params = m[2].split(', ').map(function(param) { var parts = param.split(' '); assert(parts.length === 2); |