{
object->o = o;
current->o = o;
+#if QT_POINTER_SIZE == 4
+ object->tag = QV4::Value::Managed_Type;
+ current->tag = QV4::Value::Managed_Type;
+#endif
if (object->as<ArgumentsObject>()) {
Scope scope(object->engine());
{
object->o = o;
current->o = o;
+#if QT_POINTER_SIZE == 4
+ object->tag = QV4::Value::Managed_Type;
+ current->tag = QV4::Value::Managed_Type;
+#endif
if (object->as<ArgumentsObject>()) {
Scope scope(object->engine());
{
ptr = scope.engine->jsStackTop++;
ptr->m = reinterpret_cast<Managed *>(o);
+#if QT_POINTER_SIZE == 4
+ ptr->tag = QV4::Value::Managed_Type;
+#endif
#ifndef QT_NO_DEBUG
++scope.size;
#endif
ScopedValue &operator=(HeapObject *o) {
ptr->m = reinterpret_cast<Managed *>(o);
+#if QT_POINTER_SIZE == 4
+ ptr->tag = QV4::Value::Managed_Type;
+#endif
return *this;
}
{
Value v;
v.m = reinterpret_cast<Managed *>(o);
+#if QT_POINTER_SIZE == 4
+ v.tag = QV4::Value::Managed_Type;
+#endif
ptr = scope.engine->jsStackTop++;
setPointer(value_cast<T>(v));
#ifndef QT_NO_DEBUG
Scoped<T> &operator=(HeapObject *o) {
Value v;
v.m = reinterpret_cast<Managed *>(o);
+#if QT_POINTER_SIZE == 4
+ v.tag = QV4::Value::Managed_Type;
+#endif
setPointer(value_cast<T>(v));
return *this;
}