Fixing insertion to lookup cache: removing possibility of invalidation of entry during it's initialization, skipping empty entries during search for entry containing specified property.

This commit is contained in:
Ruben Ayrapetyan
2014-12-04 16:57:45 +03:00
parent 2b9b729c37
commit ee7ac6602b
3 changed files with 13 additions and 6 deletions
-3
View File
@@ -16,7 +16,6 @@
#include "ecma-alloc.h"
#include "ecma-globals.h"
#include "ecma-gc.h"
#include "ecma-lcache.h"
#include "globals.h"
#include "mem-poolman.h"
@@ -65,8 +64,6 @@ JERRY_STATIC_ASSERT (sizeof (ecma_label_descriptor_t) == sizeof (uint64_t));
return p ## ecma_type; \
} \
\
ecma_lcache_invalidate_all (); \
\
for (ecma_gc_gen_t gen_id = ECMA_GC_GEN_0; \
gen_id < ECMA_GC_GEN_COUNT; \
gen_id++) \