Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
[ppc] Fix off by one in assert
Browse files Browse the repository at this point in the history
It ended up reading the first argument twice.
  • Loading branch information
siddhesh committed Aug 14, 2019
1 parent 4c83e55 commit 84240a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm_ppc.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -1525,7 +1525,7 @@ static void build_subroutines(BuildCtx *ctx)
| cmplw TMP1, TMP2
|.if FPU
| lfd f0, 0(TMP1)
| stfd f0, 0(TMP1)
| stfd f0, -8(TMP1)
|.else
| lwz CARG1, 0(TMP1)
| lwz CARG2, 4(TMP1)
Expand Down

0 comments on commit 84240a6

Please sign in to comment.