Permalink
Browse files

Update nqp-rx in-place to new getprop syntax

  • Loading branch information...
1 parent 10ae7c6 commit cebe8d75eb50d01a2845934fba82f0e8f2a52537 @bacek bacek committed Mar 5, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 ext/nqp-rx/src/stage0/HLL-s0.pir
  2. +2 −2 ext/nqp-rx/src/stage0/Regex-s0.pir
View
2 ext/nqp-rx/src/stage0/HLL-s0.pir
@@ -138,7 +138,7 @@ memoize the line offsets as a C<!lineof> property on C<target>.
# If we've previously cached C<linepos> for target, we use it.
unless cache goto linepos_build
- linepos = getprop '!linepos', target
+ linepos = getprop target, '!linepos'
unless null linepos goto linepos_done
# calculate a new linepos array.
View
4 ext/nqp-rx/src/stage0/Regex-s0.pir
@@ -1371,9 +1371,9 @@ create a new one and return it.
# new one.
.local pmc parrotclass, prototable
parrotclass = typeof self
- prototable = getprop '%!prototable', parrotclass
+ prototable = getprop parrotclass, '%!prototable'
if null prototable goto make_prototable
- $P0 = getprop '$!generation', prototable
+ $P0 = getprop prototable, '$!generation'
$I0 = issame $P0, generation
if $I0 goto have_prototable
make_prototable:

0 comments on commit cebe8d7

Please sign in to comment.