]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
PPC: Fix line number in stack overflow error.
authorMike Pall <mike>
Tue, 14 Sep 2010 01:13:44 +0000 (03:13 +0200)
committerMike Pall <mike>
Tue, 14 Sep 2010 01:13:44 +0000 (03:13 +0200)
src/buildvm_ppc.dasc

index 0786ffd5af2c0b396b88dc2f999ac1d686292954..6081e2a21d1609333ee77ee2f1704e896507aea2 100644 (file)
@@ -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