Browse Source

PPC: Fix line number in stack overflow error.

Mike Pall 15 years ago
parent
commit
5b740046f8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/buildvm_ppc.dasc

+ 1 - 0
src/buildvm_ppc.dasc

@@ -407,6 +407,7 @@ static void build_subroutines(BuildCtx *ctx)
   |   srwi CARG2, RA, 3
   |2:
   |  // L->base = new base, L->top = top
+  |   stw PC, SAVE_PC
   |  mr CARG1, L
   |  bl extern lj_state_growstack	// (lua_State *L, int n)
   |  lwz BASE, L->base