359643b5b2
This change cleans up object deallocation, and reorganizes the code so that we are able to do object type specific operations before the properties are freed. Previously this would require extra conditions that would slow things down regardless of object type. With this change however, object type conditions are checked only once for each possible type. JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu