Skip to content

Commit bbd5639

Browse files
committed
Helps to actually have the cstack pulled out of the cursor before we go trying to look at stuff in it.
1 parent 078ea5d commit bbd5639

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/QAST/Compiler.nqp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class QAST::Compiler is HLL::Compiler {
4343
$ops.push_pirop('eq', '$I19', 1, $restartlabel);
4444
$ops.push(self.regex_post($node));
4545
$ops.push($restartlabel);
46+
$ops.push_pirop('repr_get_attr_obj', %*REG<cstack>, %*REG<cur>, %*REG<curclass>, '"$!cstack"');
4647
$ops.push($faillabel);
4748
$ops.push_pirop('unless', %*REG<bstack>, $donelabel);
4849
$ops.push_pirop('pop', '$I19', %*REG<bstack>);

0 commit comments

Comments
 (0)