summaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-03-07 10:22:55 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-03-07 10:22:55 -0300
commit5e870f86a255988ca85eda795adc31063ec1ac70 (patch)
tree72c428d85c63cd8930217497652bfc387a57ba83 /lopcodes.h
parentf81b8adb3f2738d2895511082793af622e8581d8 (diff)
downloadlua-5e870f86a255988ca85eda795adc31063ec1ac70.tar.gz
lua-5e870f86a255988ca85eda795adc31063ec1ac70.tar.bz2
lua-5e870f86a255988ca85eda795adc31063ec1ac70.zip
optimization for tailcall does not seem to pay itself
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lopcodes.h b/lopcodes.h
index a30de1be..207627a5 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.69 2000/12/04 18:33:40 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.70 2001/01/15 16:13:24 roberto Exp roberto $
3** Opcodes for Lua virtual machine 3** Opcodes for Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -85,7 +85,6 @@ name args stack before stack after side effects
85OP_RETURN,/* U v_n-v_x(at u) (return) returns v_x-v_n */ 85OP_RETURN,/* U v_n-v_x(at u) (return) returns v_x-v_n */
86 86
87OP_CALL,/* A B v_n-v_1 f(at a) r_b-r_1 f(v1,...,v_n) */ 87OP_CALL,/* A B v_n-v_1 f(at a) r_b-r_1 f(v1,...,v_n) */
88OP_TAILCALL,/* A B v_n-v_1 f(at a) (return) f(v1,...,v_n) */
89 88
90OP_PUSHNIL,/* U - nil_1-nil_u */ 89OP_PUSHNIL,/* U - nil_1-nil_u */
91OP_POP,/* U a_u-a_1 - */ 90OP_POP,/* U a_u-a_1 - */