Rewrite ecma_op_get_value_object_base to use ecma_op_object_find_own() call. (#1365)

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
zherczeg
2016-09-20 13:33:57 +02:00
committed by GitHub
parent a9d6978e4b
commit 8b55a4ef7b
3 changed files with 37 additions and 53 deletions
+5
View File
@@ -437,6 +437,11 @@ typedef struct
#define ECMA_PROPERTY_VALUE_PTR(property_p) \
((ecma_property_value_t *) ECMA_PROPERTY_VALUE_DATA_PTR (property_p))
/**
* Depth limit for property search (maximum prototype chain depth).
*/
#define ECMA_PROPERTY_SEARCH_DEPTH_LIMIT 128
/**
* Property reference.
*/