diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-04-12 21:00:12 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-04-12 21:00:12 +0200 |
commit | e7d68e6bf1ceecdee6cb4df3f41edf6f94ad25a3 (patch) | |
tree | fff5bb4ec47e1e39ec7b7a9e211b66a34fb6dd0a /zend/opcodes.h | |
parent | 8779ed80dd5d6794f9d3739a2c2cf10f6b2ee767 (diff) |
Complete magic! The compiler somehow optimizes the ExecuteClass out when called with no parameters whatsoever, by passing an extra argument this no longer happens. This fixes the problem that we had with Php::eval(), fix issue #183
Diffstat (limited to 'zend/opcodes.h')
-rw-r--r-- | zend/opcodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zend/opcodes.h b/zend/opcodes.h index 7e6d1ec..4e78083 100644 --- a/zend/opcodes.h +++ b/zend/opcodes.h @@ -74,7 +74,7 @@ public: // the zend engine is probably already busy processing opcodes, so we store // the current execute state before we're going to switch the runtime to // our own set of opcodes - ExecuteState oldstate(TSRMLS_C); + ExecuteState execState(0 TSRMLS_CC); // old execute state has been saved (and will automatically be restured when // the oldstate is destructed), so we can now safely overwrite all the settings |