Revert "Introducing managed pointers classes (ecma_generic_ptr_t, ecma_pointer_t<T>); using ecma_generic_ptr_t to store pointer in ecma_value_t."

This reverts commit f88c0d665b4ff7e2add495bc2980adf7a1622f31.
This commit is contained in:
Ruben Ayrapetyan
2015-02-03 16:50:21 +03:00
parent b0e4d2ece1
commit 3cb0b0a379
4 changed files with 26 additions and 169 deletions
+3 -4
View File
@@ -15,7 +15,6 @@
#include "ecma-compressed-pointers.h"
#include "ecma-globals.h"
#include "ecma-managed-pointer.h"
#include "jrt-bit-fields.h"
#ifndef ECMA_VALUE_H
@@ -113,7 +112,7 @@ class ecma_value_t
|| _type == ECMA_TYPE_STRING
|| _type == ECMA_TYPE_OBJECT);
_value_p.pack_to (value);
ECMA_SET_NON_NULL_POINTER (value, _value_p);
}
return pack (_type, value);
@@ -179,7 +178,7 @@ class ecma_value_t
|| _type == ECMA_TYPE_STRING
|| _type == ECMA_TYPE_OBJECT);
_value_p.unpack_from (value);
_value_p = ECMA_GET_NON_NULL_POINTER (void, value);
}
return *this;
@@ -325,7 +324,7 @@ class ecma_value_t
union
{
ecma_simple_value_t _simple_value;
ecma_generic_ptr_t _value_p;
void* _value_p;
};
};