From 5c90e636af82f1134f60c4e7066f85a1de6168e7 Mon Sep 17 00:00:00 2001 From: Anna Antipina Date: Fri, 8 Jul 2022 18:16:55 +0300 Subject: [PATCH] Rebuilding irtoc interpreter after changes in plugins Signed-off-by: Anna Antipina --- CMakeLists.txt | 1 + irtoc_scripts/CMakeLists.txt | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 irtoc_scripts/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index e2ea6de66..289deba69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,6 +30,7 @@ set(CMAKE_CXX_FLAGS "${ORIG_CMAKE_CXX_FLAGS}") if(PANDA_WITH_TOOLCHAIN) add_subdirectory(assembler) add_subdirectory(isa) + add_subdirectory(irtoc_scripts) add_subdirectory(es2panda) add_dependencies(panda_bins es2panda) endif() diff --git a/irtoc_scripts/CMakeLists.txt b/irtoc_scripts/CMakeLists.txt new file mode 100644 index 000000000..63cb077db --- /dev/null +++ b/irtoc_scripts/CMakeLists.txt @@ -0,0 +1,15 @@ +# Copyright (c) 2021-2022 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +add_irtoc_plugin(${PANDA_ECMASCRIPT_PLUGIN_SOURCE}/irtoc_scripts/interpreter_handlers.irt) +add_irtoc_plugin(${PANDA_ECMASCRIPT_PLUGIN_SOURCE}/irtoc_scripts/interpreter_main_loop.irt) -- Gitee