diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-02-13 18:35:53 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-02-13 18:35:53 -0200 |
commit | 2c9d30f9b0fc891b64c5f1e8492f112bbcb8f5fa (patch) | |
tree | 96dd977975abb10754ba9adcc0a70a0eaafe3f10 | |
parent | ad1ebdc4f41747883ae00a3484f802d350148a85 (diff) | |
download | lua-2c9d30f9b0fc891b64c5f1e8492f112bbcb8f5fa.tar.gz lua-2c9d30f9b0fc891b64c5f1e8492f112bbcb8f5fa.tar.bz2 lua-2c9d30f9b0fc891b64c5f1e8492f112bbcb8f5fa.zip |
otimizacao do codigo para construtores.
-rw-r--r-- | opcode.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | ** TeCGraf - PUC-Rio | 2 | ** TeCGraf - PUC-Rio |
3 | ** $Id: opcode.h,v 1.1 1993/12/17 18:41:19 celes Exp roberto $ | 3 | ** $Id: opcode.h,v 1.2 1993/12/22 21:15:16 roberto Exp roberto $ |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef opcode_h | 6 | #ifndef opcode_h |
@@ -14,6 +14,8 @@ | |||
14 | #define real float | 14 | #define real float |
15 | #endif | 15 | #endif |
16 | 16 | ||
17 | #define FIELDS_PER_FLUSH 40 | ||
18 | |||
17 | typedef unsigned char Byte; | 19 | typedef unsigned char Byte; |
18 | 20 | ||
19 | typedef unsigned short Word; | 21 | typedef unsigned short Word; |
@@ -40,7 +42,9 @@ typedef enum | |||
40 | STOREGLOBAL, | 42 | STOREGLOBAL, |
41 | STOREINDEXED0, | 43 | STOREINDEXED0, |
42 | STOREINDEXED, | 44 | STOREINDEXED, |
43 | STOREFIELD, | 45 | STORELIST0, |
46 | STORELIST, | ||
47 | STORERECORD, | ||
44 | ADJUST, | 48 | ADJUST, |
45 | CREATEARRAY, | 49 | CREATEARRAY, |
46 | EQOP, | 50 | EQOP, |