From 2bf25f10ebcfd87f0b021833de99cee218a9d729 Mon Sep 17 00:00:00 2001 From: Ruben Ayrapetyan Date: Fri, 19 Jun 2015 00:11:14 +0300 Subject: [PATCH] Move jerry-core/parser/collections to jerry-core/parser/js/collections. JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com --- jerry-core/CMakeLists.txt | 26 +++++++++---------- .../{ => js}/collections/array-list.cpp | 0 .../parser/{ => js}/collections/array-list.h | 0 .../{ => js}/collections/hash-table.cpp | 0 .../parser/{ => js}/collections/hash-table.h | 0 .../{ => js}/collections/linked-list.cpp | 0 .../parser/{ => js}/collections/linked-list.h | 0 .../collections/lit-id-hash-table.cpp | 0 .../{ => js}/collections/lit-id-hash-table.h | 0 .../parser/{ => js}/collections/stack.h | 0 10 files changed, 13 insertions(+), 13 deletions(-) rename jerry-core/parser/{ => js}/collections/array-list.cpp (100%) rename jerry-core/parser/{ => js}/collections/array-list.h (100%) rename jerry-core/parser/{ => js}/collections/hash-table.cpp (100%) rename jerry-core/parser/{ => js}/collections/hash-table.h (100%) rename jerry-core/parser/{ => js}/collections/linked-list.cpp (100%) rename jerry-core/parser/{ => js}/collections/linked-list.h (100%) rename jerry-core/parser/{ => js}/collections/lit-id-hash-table.cpp (100%) rename jerry-core/parser/{ => js}/collections/lit-id-hash-table.h (100%) rename jerry-core/parser/{ => js}/collections/stack.h (100%) diff --git a/jerry-core/CMakeLists.txt b/jerry-core/CMakeLists.txt index 1cbb98ab4..d60195849 100644 --- a/jerry-core/CMakeLists.txt +++ b/jerry-core/CMakeLists.txt @@ -100,8 +100,8 @@ project (JerryCore CXX C ASM) ${CMAKE_SOURCE_DIR}/jerry-core/ecma/builtin-objects ${CMAKE_SOURCE_DIR}/jerry-core/ecma/base ${CMAKE_SOURCE_DIR}/jerry-core/ecma/operations - ${CMAKE_SOURCE_DIR}/jerry-core/parser/collections ${CMAKE_SOURCE_DIR}/jerry-core/parser/js + ${CMAKE_SOURCE_DIR}/jerry-core/parser/js/collections ${CMAKE_SOURCE_DIR}/jerry-core/jrt) # Third-party @@ -110,17 +110,17 @@ project (JerryCore CXX C ASM) # Sources # Jerry core - file(GLOB SOURCE_CORE_API *.cpp) - file(GLOB SOURCE_CORE_LIT lit/*.cpp) - file(GLOB SOURCE_CORE_RCS rcs/*.cpp) - file(GLOB SOURCE_CORE_MEM mem/*.cpp) - file(GLOB SOURCE_CORE_VM vm/*.cpp) - file(GLOB SOURCE_CORE_ECMA_BUILTINS ecma/builtin-objects/*.cpp) - file(GLOB SOURCE_CORE_ECMA_BASE ecma/base/*.cpp) - file(GLOB SOURCE_CORE_ECMA_OPERATIONS ecma/operations/*.cpp) - file(GLOB SOURCE_CORE_PARSER_COLLECTIONS parser/collections/*.cpp) - file(GLOB SOURCE_CORE_PARSER_JS parser/js/*.cpp) - file(GLOB SOURCE_CORE_JRT jrt/*.cpp) + file(GLOB SOURCE_CORE_API *.cpp) + file(GLOB SOURCE_CORE_LIT lit/*.cpp) + file(GLOB SOURCE_CORE_RCS rcs/*.cpp) + file(GLOB SOURCE_CORE_MEM mem/*.cpp) + file(GLOB SOURCE_CORE_VM vm/*.cpp) + file(GLOB SOURCE_CORE_ECMA_BUILTINS ecma/builtin-objects/*.cpp) + file(GLOB SOURCE_CORE_ECMA_BASE ecma/base/*.cpp) + file(GLOB SOURCE_CORE_ECMA_OPERATIONS ecma/operations/*.cpp) + file(GLOB SOURCE_CORE_PARSER_JS parser/js/*.cpp) + file(GLOB SOURCE_CORE_PARSER_JS_COLLECTIONS parser/js/collections/*.cpp) + file(GLOB SOURCE_CORE_JRT jrt/*.cpp) set(SOURCE_CORE jerry.cpp @@ -132,8 +132,8 @@ project (JerryCore CXX C ASM) ${SOURCE_CORE_ECMA_BUILTINS} ${SOURCE_CORE_ECMA_BASE} ${SOURCE_CORE_ECMA_OPERATIONS} - ${SOURCE_CORE_PARSER_COLLECTIONS} ${SOURCE_CORE_PARSER_JS} + ${SOURCE_CORE_PARSER_JS_COLLECTIONS} ${SOURCE_CORE_JRT}) # Per-option configuration diff --git a/jerry-core/parser/collections/array-list.cpp b/jerry-core/parser/js/collections/array-list.cpp similarity index 100% rename from jerry-core/parser/collections/array-list.cpp rename to jerry-core/parser/js/collections/array-list.cpp diff --git a/jerry-core/parser/collections/array-list.h b/jerry-core/parser/js/collections/array-list.h similarity index 100% rename from jerry-core/parser/collections/array-list.h rename to jerry-core/parser/js/collections/array-list.h diff --git a/jerry-core/parser/collections/hash-table.cpp b/jerry-core/parser/js/collections/hash-table.cpp similarity index 100% rename from jerry-core/parser/collections/hash-table.cpp rename to jerry-core/parser/js/collections/hash-table.cpp diff --git a/jerry-core/parser/collections/hash-table.h b/jerry-core/parser/js/collections/hash-table.h similarity index 100% rename from jerry-core/parser/collections/hash-table.h rename to jerry-core/parser/js/collections/hash-table.h diff --git a/jerry-core/parser/collections/linked-list.cpp b/jerry-core/parser/js/collections/linked-list.cpp similarity index 100% rename from jerry-core/parser/collections/linked-list.cpp rename to jerry-core/parser/js/collections/linked-list.cpp diff --git a/jerry-core/parser/collections/linked-list.h b/jerry-core/parser/js/collections/linked-list.h similarity index 100% rename from jerry-core/parser/collections/linked-list.h rename to jerry-core/parser/js/collections/linked-list.h diff --git a/jerry-core/parser/collections/lit-id-hash-table.cpp b/jerry-core/parser/js/collections/lit-id-hash-table.cpp similarity index 100% rename from jerry-core/parser/collections/lit-id-hash-table.cpp rename to jerry-core/parser/js/collections/lit-id-hash-table.cpp diff --git a/jerry-core/parser/collections/lit-id-hash-table.h b/jerry-core/parser/js/collections/lit-id-hash-table.h similarity index 100% rename from jerry-core/parser/collections/lit-id-hash-table.h rename to jerry-core/parser/js/collections/lit-id-hash-table.h diff --git a/jerry-core/parser/collections/stack.h b/jerry-core/parser/js/collections/stack.h similarity index 100% rename from jerry-core/parser/collections/stack.h rename to jerry-core/parser/js/collections/stack.h