Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Load nqp_group and nqp_ops and initialize them at the start of an NQP…
… program.
  • Loading branch information
jnthn committed Sep 25, 2010
1 parent d84b3db commit 6addc8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/NQP/Actions.pm
Expand Up @@ -54,6 +54,10 @@ method comp_unit($/) {
# (CTXSAVE is inherited from HLL::Actions.)
$unit.push( self.CTXSAVE() );

# Need to load the nqp-rx dynops/dympmcs.
$unit.loadlibs('nqp_group', 'nqp_ops');
$unit.unshift(PAST::Op.new( :pirop('nqp_dynop_setup v') ));

# We force a return here, because we have other
# :load/:init blocks to execute that we don't want
# to include as part of the mainline.
Expand Down

0 comments on commit 6addc8f

Please sign in to comment.