diff options
author | Andi Gutmans <andi@php.net> | 2004-09-08 22:14:12 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2004-09-08 22:14:12 +0000 |
commit | 8eb8850c907040b2dbf3e4e8abbd1f6869bed457 (patch) | |
tree | f788629923faf2c36307c8699e820b5492f8ffb8 /Zend/zend_exceptions.c | |
parent | d179ac771c6be8ef64dee154bae55e8a4caedb67 (diff) | |
download | php-git-8eb8850c907040b2dbf3e4e8abbd1f6869bed457.tar.gz |
- Some architectural changes:
a) We specialize opcodes according to op_type fields. Each opcode has to
be marked with which op_type's it uses.
b) We support different execution methods. Function handlers, switch()
and goto dispatching. goto seems to be the fastest but it really
depends on the compiler and how well it optimizes. I suggest playing
around with optimization flags.
- Warning: Things might break so keep us posted on how things are going.
(Dmitry, Andi)
Diffstat (limited to 'Zend/zend_exceptions.c')
-rw-r--r-- | Zend/zend_exceptions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c index 0122292e72..c650d7a062 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -175,7 +175,7 @@ ZEND_METHOD(error_exception, __construct) if (argc >= 4) { zend_update_property_string(default_exception_ce, object, "file", sizeof("file")-1, filename TSRMLS_CC); if (argc < 5) { - lineno = 0; // invalidate lineno + lineno = 0; /* invalidate lineno */ } zend_update_property_long(default_exception_ce, object, "line", sizeof("line")-1, lineno TSRMLS_CC); } |