Introducing cache for property by name lookup (LCache).

This commit is contained in:
Ruben Ayrapetyan
2014-11-17 18:13:09 +03:00
parent 8a6eae0ca5
commit 76ed780895
9 changed files with 466 additions and 6 deletions
@@ -15,6 +15,7 @@
#include "ecma-builtins.h"
#include "ecma-helpers.h"
#include "ecma-lcache.h"
#include "ecma-operations.h"
/** \addtogroup ecma ECMA
@@ -32,6 +33,7 @@ ecma_init (void)
{
ecma_strings_init ();
ecma_init_builtins ();
ecma_lcache_init ();
} /* ecma_init */
/**
@@ -40,6 +42,7 @@ ecma_init (void)
void
ecma_finalize (void)
{
ecma_lcache_invalidate_all ();
ecma_finalize_builtins ();
} /* ecma_finalize */