浏览代码

Fixed compiler option -DHARDSTACKTESTS to commit 5aa36e8

Roberto Ierusalimschy 4 年之前
父节点
当前提交
f07de22576
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      llimits.h

+ 1 - 1
llimits.h

@@ -355,7 +355,7 @@ typedef l_uint32 Instruction;
 #else
 /* realloc stack keeping its size */
 #define condmovestack(L,pre,pos)  \
-  { int sz_ = (L)->stacksize; pre; luaD_reallocstack((L), sz_, 0); pos; }
+  { int sz_ = stacksize(L); pre; luaD_reallocstack((L), sz_, 0); pos; }
 #endif
 
 #if !defined(HARDMEMTESTS)