Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Restore backtrace handling.
  • Loading branch information
pmichaud committed Jun 17, 2010
1 parent e3eb608 commit cca4a84
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Perl6/Compiler.pir
Expand Up @@ -191,12 +191,12 @@ Perl6::Compiler - Perl6 compiler
.return (module)
.end

#.sub 'backtrace' :method
# .param pmc exception
# $P0 = get_hll_global ['Perl6'], 'BacktracePrinter'
# $S0 = $P0.'backtrace_for'(exception)
# .return ($S0)
#.end
.sub 'backtrace' :method
.param pmc exception
$P0 = get_hll_global ['Perl6'], 'BacktracePrinter'
$S0 = $P0.'backtrace_for'(exception)
.return ($S0)
.end

.sub 'main' :main
.param pmc args_str
Expand Down

0 comments on commit cca4a84

Please sign in to comment.