Browse files

Fix PackfileConstantTable.push hack

1 parent 3286f15 commit 298813f01fbf70f506fda9a2f7103c5fdbf7d9e5 @bacek bacek committed Jan 5, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/hacks.pir
View
4 src/hacks.pir
@@ -18,8 +18,8 @@
.namespace ['PackfileConstantTable']
.sub 'push' :method
.param pmc value
- $I0 = elements self
- self[$I0] = value
+ $I0 = self.'pmc_count'()
+ push self, value
.return($I0)
.end

0 comments on commit 298813f

Please sign in to comment.