Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
move some code in HLL::Compiler.compile from PIR to NQP
  • Loading branch information
moritz committed Feb 21, 2011
1 parent 549d447 commit 9a7d4a9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/HLL/Compiler.pm
Expand Up @@ -451,17 +451,14 @@ class HLL::Compiler {
}

method compile($source, *%adverbs) {
my %*COMPILING<%?OPTIONS> := %adverbs;

Q:PIR {
.local pmc source, adverbs, self
source = find_lex '$source'
adverbs = find_lex '%adverbs'
self = find_lex 'self'
.local pmc compiling, options
compiling = new ['Hash']
.lex '%*COMPILING', compiling
compiling['%?OPTIONS'] = adverbs
.local string target
target = adverbs['target']
target = downcase target
Expand Down

0 comments on commit 9a7d4a9

Please sign in to comment.