Replacing switches with pointer tables in some ecma_op_object_* routines.

This commit is contained in:
Ruben Ayrapetyan
2014-11-12 15:17:20 +03:00
parent afe242e7a3
commit d93a4ec36c
2 changed files with 144 additions and 199 deletions
+2 -1
View File
@@ -333,7 +333,8 @@ typedef enum
of ECMA-262 v5 specification */
ECMA_OBJECT_TYPE_ARGUMENTS, /**< Arguments object (10.6) */
ECMA_OBJECT_TYPE_ARRAY, /**< Array object (15.4) */
ECMA_OBJECT_TYPE_HOST /**< Host object */
// ECMA_OBJECT_TYPE_HOST, /**< Host object */
ECMA_OBJECT_TYPE__COUNT /**< number of object types */
} ecma_object_type_t;
/**