Permalink
Browse files

- Optimize the execute stack a bit.

  • Loading branch information...
1 parent 94ce166 commit b5f5e9a6d1bed2e329c98084e4a91f5302124bf2 @andigutmans andigutmans committed Aug 15, 1999
Showing with 120 additions and 112 deletions.
  1. +2 −0 Zend/zend.h
  2. +2 −2 Zend/zend_compile.h
  3. +112 −109 Zend/zend_execute.c
  4. +4 −1 Zend/zend_globals.h
View
@@ -260,4 +260,6 @@ extern zend_utility_values zend_uv;
} \
}
+#define ZEND_MAX_RESERVED_RESOURCES 1
+
#endif /* _ZEND_H */
View
@@ -118,7 +118,7 @@ struct _zend_op_array {
int backpatch_count;
#endif
- void *reserved[4];
+ void *reserved[ZEND_MAX_RESERVED_RESOURCES];
};
@@ -147,7 +147,7 @@ typedef union _zend_function {
typedef struct _zend_function_state {
HashTable *function_symbol_table;
zend_function *function;
- void *reserved[4];
+ void *reserved[ZEND_MAX_RESERVED_RESOURCES];
} zend_function_state;
Oops, something went wrong.

0 comments on commit b5f5e9a

Please sign in to comment.