0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-23 08:21:53 +00:00

Don't pass cache_slot to standard handlers

With the cache_slot being filled by the write-handler passing
on the cache_slot, succeeding write calls are not passed on to
our write but handled directly by the executor instead
(in zend_assign_to_object)
This commit is contained in:
Stefan Siegl 2015-10-05 21:41:48 +02:00
parent b8726409f4
commit 9827224471

View File

@ -999,7 +999,7 @@ static void v8js_write_property(zval *object, zval *member, zval *value, void **
} }
/* Write value to PHP object */ /* Write value to PHP object */
std_object_handlers.write_property(object, member, value, cache_slot TSRMLS_CC); std_object_handlers.write_property(object, member, value, NULL);
} }
/* }}} */ /* }}} */
@ -1015,7 +1015,7 @@ static void v8js_unset_property(zval *object, zval *member, void **cache_slot TS
jsobj->Delete(V8JS_SYML(Z_STRVAL_P(member), Z_STRLEN_P(member))); jsobj->Delete(V8JS_SYML(Z_STRVAL_P(member), Z_STRLEN_P(member)));
/* Unset from PHP object */ /* Unset from PHP object */
std_object_handlers.unset_property(object, member, cache_slot TSRMLS_CC); std_object_handlers.unset_property(object, member, NULL);
} }
/* }}} */ /* }}} */