Browse Source

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)
Stefan Siegl 9 years ago
parent
commit
9827224471
1 changed files with 2 additions and 2 deletions
  1. 2 2
      v8js_class.cc

+ 2 - 2
v8js_class.cc

@@ -999,7 +999,7 @@ static void v8js_write_property(zval *object, zval *member, zval *value, void **
 	}
 
 	/* 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)));
 
 	/* Unset from PHP object */
-	std_object_handlers.unset_property(object, member, cache_slot TSRMLS_CC);
+	std_object_handlers.unset_property(object, member, NULL);
 }
 /* }}} */