Update .travis.yml. Remove unused code.

This commit is contained in:
CismonX 2019-05-09 15:09:15 +08:00
parent 9e926d1bfb
commit f68fe95b20
2 changed files with 1 additions and 13 deletions

View File

@ -10,7 +10,7 @@ php:
env:
global:
- ARMA_VERSION="9.300.2"
- ARMA_VERSION="9.400.3"
- ARMA_SRC="http://sourceforge.net/projects/arma/files/armadillo-${ARMA_VERSION}.tar.xz"
before_install:

View File

@ -35,18 +35,6 @@ namespace php_arma
}
}
zend_always_inline
bool opcode_is_greater(const zend_op *opline)
{
switch (opline->opcode) {
case ZEND_IS_SMALLER:
case ZEND_IS_SMALLER_OR_EQUAL:
return opline->extended_value == 1;
default:
return false;
}
}
template <typename F>
zend_always_inline
int op_handler(zend_execute_data *execute_data, F handler)