mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-23 04:51:53 +00:00
Remove unnecessary TSRMLS_FETCH from php_v8js_weak_object_callback.
This commit is contained in:
parent
6eeafc0f83
commit
7c5817c931
@ -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) {
|
static void php_v8js_weak_object_callback(const v8::WeakCallbackData<v8::Object, zval> &data) {
|
||||||
v8::Isolate *isolate = data.GetIsolate();
|
|
||||||
zval *value = data.GetParameter();
|
zval *value = data.GetParameter();
|
||||||
V8JS_TSRMLS_FETCH();
|
|
||||||
zval_ptr_dtor(&value);
|
zval_ptr_dtor(&value);
|
||||||
|
|
||||||
v8::V8::AdjustAmountOfExternalAllocatedMemory(-1024);
|
v8::V8::AdjustAmountOfExternalAllocatedMemory(-1024);
|
||||||
|
Loading…
Reference in New Issue
Block a user