Skip to content
Permalink
Browse files

Include hack for `throws-like` for now

It doesn't harm much, and will be easy to discard when the EVAL-abusing
form of `throws-like` goes away.
  • Loading branch information...
jnthn committed Nov 1, 2018
1 parent 2468dea commit cf9e1f595999ccafbb49b5fc431beec4adb87325
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/Perl6/Optimizer.nqp
@@ -1163,7 +1163,11 @@ class Perl6::Optimizer {
'callsame', NQPMu, '&callsame', NQPMu,
'nextwith', NQPMu, '&nextwith', NQPMu,
'nextsame', NQPMu, '&nextsame', NQPMu,
'samewith', NQPMu, '&samewith', NQPMu);
'samewith', NQPMu, '&samewith', NQPMu,
# This is a hack to compensate for Test.pm6 using unspecified
# behavior. The EVAL form of it should be deprecated and then
# removed, at which point this can go away.
'&throws-like', NQPMu);

# Called when we encounter a QAST::Op in the tree. Produces either
# the op itself or some replacement opcode to put in the tree.

0 comments on commit cf9e1f5

Please sign in to comment.
You can’t perform that action at this time.