Commit 499a23ca authored by Frederick Zhang's avatar Frederick Zhang

inline fetch obj data

parent 74d869c2
......@@ -52,7 +52,7 @@ public:
ZVAL_OBJ(new_object, Z_OBJ_P(object)->handlers->clone_obj(object));
return Z_OBJ_P(new_object);
}
static bitem * fetch_bnode_object_data(zend_object *obj) {
static inline bitem * fetch_bnode_object_data(zend_object *obj) {
return (bitem *)(*((uintptr_t *)((char *)obj - sizeof(uintptr_t))));
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment