0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 18:41:52 +00:00

Remove unnecessary TSRMLS_FETCH from php_v8js_weak_object_callback.

This commit is contained in:
C. Scott Ananian 2013-10-29 13:33:05 -04:00
parent 6eeafc0f83
commit 7c5817c931

View File

@ -257,9 +257,7 @@ static int _php_v8js_is_assoc_array(HashTable *myht TSRMLS_DC) /* {{{ */
/* }}} */
static void php_v8js_weak_object_callback(const v8::WeakCallbackData<v8::Object, zval> &data) {
v8::Isolate *isolate = data.GetIsolate();
zval *value = data.GetParameter();
V8JS_TSRMLS_FETCH();
zval_ptr_dtor(&value);
v8::V8::AdjustAmountOfExternalAllocatedMemory(-1024);