aboutsummaryrefslogtreecommitdiff
path: root/opcode.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-11-10 15:36:54 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-11-10 15:36:54 -0200
commit8a0521fa529ce5091877683bc6f235ff8de7185b (patch)
tree309518c1d073c214e130d7634c2b5a24d7cf7ff6 /opcode.c
parent9deac27704eee47f858f6b41a386c3198bc49587 (diff)
downloadlua-8a0521fa529ce5091877683bc6f235ff8de7185b.tar.gz
lua-8a0521fa529ce5091877683bc6f235ff8de7185b.tar.bz2
lua-8a0521fa529ce5091877683bc6f235ff8de7185b.zip
fallback for garbage collection
Diffstat (limited to 'opcode.c')
-rw-r--r--opcode.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/opcode.c b/opcode.c
index dec7fa3e..d967c2cc 100644
--- a/opcode.c
+++ b/opcode.c
@@ -3,7 +3,7 @@
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4*/ 4*/
5 5
6char *rcs_opcode="$Id: opcode.c,v 3.7 1994/11/09 18:13:29 roberto Exp roberto $"; 6char *rcs_opcode="$Id: opcode.c,v 3.8 1994/11/10 17:11:52 roberto Exp roberto $";
7 7
8#include <stdio.h> 8#include <stdio.h>
9#include <stdlib.h> 9#include <stdlib.h>
@@ -633,6 +633,13 @@ int lua_type (lua_Object o)
633} 633}
634 634
635 635
636void luaI_gcFB (Object *o)
637{
638 *(top++) = *o;
639 do_call(&luaI_fallBacks[FB_GC].function, (top-stack)-1, 0, (top-stack)-1);
640}
641
642
636static void call_arith (char *op) 643static void call_arith (char *op)
637{ 644{
638 lua_pushstring(op); 645 lua_pushstring(op);