Skip to content

Commit

Permalink
hasuniprop wants to take the string, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Nov 28, 2013
1 parent 34ea61a commit 2946c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/moar/QAST/QASTRegexCompilerMAST.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ class QAST::MASTRegexCompiler {
op('const_s', $pname, sval($node[0])),
op('unipropcode', $pcode, $pname),
op('unipvalcode', $pvcode, $pcode, $pname),
op('hasuniprop', $i0, %*REG<pos>, $pcode, $pvcode),
op('hasuniprop', $i0, %*REG<tgt>, %*REG<pos>, $pcode, $pvcode),
op($testop, $i0, %*REG<fail>),
op('inc_i', %*REG<pos>)
];
Expand Down

0 comments on commit 2946c2c

Please sign in to comment.