Rework array hole calculation for fast access mode arrays (#3248)
This patch gives possibility to Array.prototype builtin routine optimizations. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
@@ -70,7 +70,7 @@ vm_get_backtrace (uint32_t max_depth) /**< maximum backtrace depth, 0 = unlimite
|
||||
|
||||
vm_frame_ctx_t *context_p = JERRY_CONTEXT (vm_top_context_p);
|
||||
ecma_object_t *array_p = ecma_get_object_from_value (result_array);
|
||||
JERRY_ASSERT (((ecma_extended_object_t *) array_p)->u.array.is_fast_mode);
|
||||
JERRY_ASSERT (ecma_op_object_is_fast_array (array_p));
|
||||
uint32_t index = 0;
|
||||
|
||||
while (context_p != NULL)
|
||||
|
||||
Reference in New Issue
Block a user