diff --git a/ravicomp/CMakeLists.txt b/ravicomp/CMakeLists.txt index 8b0545a..b3d612a 100644 --- a/ravicomp/CMakeLists.txt +++ b/ravicomp/CMakeLists.txt @@ -10,7 +10,6 @@ set(PUBLIC_HEADERS set(HEADERS ${PUBLIC_HEADERS} src/allocate.h - src/bitset.h src/ptrlist.h src/fnv_hash.h src/graph.h @@ -18,10 +17,8 @@ set(HEADERS src/set.h src/membuf.h src/cfg.h - src/dominator.h src/linearizer.h src/common.h - src/dataflow_framework.h src/optimizer.h src/parser.h src/codegen.h) @@ -30,12 +27,10 @@ set(SRCS src/allocate.c src/ast_walker.c src/ast_simplify.c - src/bitset.c src/ptrlist.c src/fnv_hash.c src/graph.c src/cfg.c - src/dominator.c src/hash_table.c src/set.c src/lexer.c @@ -43,10 +38,8 @@ set(SRCS src/ast_printer.c src/typechecker.c src/linearizer.c - src/dataflow_framework.c src/opt_unusedcode.c src/membuf.c - src/df_liveness.c src/codegen.c src/ravi_binding.c ) diff --git a/src/lapi.c b/src/lapi.c index 7d58578..6613700 100644 --- a/src/lapi.c +++ b/src/lapi.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2020 Dibyendu Majumdar +** Portions Copyright (C) 2015-2021 Dibyendu Majumdar */ diff --git a/src/lcode.c b/src/lcode.c index 136c87f..d5c1aa8 100644 --- a/src/lcode.c +++ b/src/lcode.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2020 Dibyendu Majumdar +** Portions Copyright (C) 2015-2021 Dibyendu Majumdar */ #define lcode_c diff --git a/src/ldo.c b/src/ldo.c index 4a4aea5..e7e63b1 100644 --- a/src/ldo.c +++ b/src/ldo.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2020 Dibyendu Majumdar +** Portions Copyright (C) 2015-2021 Dibyendu Majumdar */ #define ldo_c diff --git a/src/ldump.c b/src/ldump.c index 22aff0c..32aa8ce 100644 --- a/src/ldump.c +++ b/src/ldump.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2020 Dibyendu Majumdar +** Portions Copyright (C) 2015-2021 Dibyendu Majumdar */ diff --git a/src/lfunc.c b/src/lfunc.c index a86d9c1..09db3d9 100644 --- a/src/lfunc.c +++ b/src/lfunc.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2020 Dibyendu Majumdar +** Portions Copyright (C) 2015-2021 Dibyendu Majumdar */ diff --git a/src/lopcodes.c b/src/lopcodes.c index f30381e..ad560b3 100644 --- a/src/lopcodes.c +++ b/src/lopcodes.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2020 Dibyendu Majumdar +** Portions Copyright (C) 2015-2021 Dibyendu Majumdar */ diff --git a/src/lparser.c b/src/lparser.c index 71e08b6..8a5f2bf 100644 --- a/src/lparser.c +++ b/src/lparser.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2020 Dibyendu Majumdar +** Portions Copyright (C) 2015-2021 Dibyendu Majumdar */ #define lparser_c diff --git a/src/lundump.c b/src/lundump.c index 7b113ce..69509cb 100644 --- a/src/lundump.c +++ b/src/lundump.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2020 Dibyendu Majumdar +** Portions Copyright (C) 2015-2021 Dibyendu Majumdar */ #define lundump_c diff --git a/src/lvm.c b/src/lvm.c index c00af24..80e9894 100644 --- a/src/lvm.c +++ b/src/lvm.c @@ -5,7 +5,7 @@ */ /* -** Portions Copyright (C) 2015-2020 Dibyendu Majumdar +** Portions Copyright (C) 2015-2021 Dibyendu Majumdar */ diff --git a/src/ravi_complib.c b/src/ravi_complib.c index 97a5349..734b28b 100644 --- a/src/ravi_complib.c +++ b/src/ravi_complib.c @@ -1,3 +1,25 @@ +/****************************************************************************** +* Copyright (C) 2020-2021 Dibyendu Majumdar +* +* Permission is hereby granted, free of charge, to any person obtaining +* a copy of this software and associated documentation files (the +* "Software"), to deal in the Software without restriction, including +* without limitation the rights to use, copy, modify, merge, publish, +* distribute, sublicense, and/or sell copies of the Software, and to +* permit persons to whom the Software is furnished to do so, subject to +* the following conditions: +* +* The above copyright notice and this permission notice shall be +* included in all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +******************************************************************************/ #include "ravi_api.h" #define LUA_CORE diff --git a/src/ravi_jit.c b/src/ravi_jit.c index 6910c18..71d7ec5 100644 --- a/src/ravi_jit.c +++ b/src/ravi_jit.c @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015-2020 Dibyendu Majumdar +* Copyright (C) 2015-2021 Dibyendu Majumdar * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/src/ravi_jit.h b/src/ravi_jit.h index d684d19..4a3ccb7 100644 --- a/src/ravi_jit.h +++ b/src/ravi_jit.h @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015-2020 Dibyendu Majumdar +* Copyright (C) 2015-2021 Dibyendu Majumdar * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/src/ravi_jitshared.c b/src/ravi_jitshared.c index 0d720f7..9e88221 100644 --- a/src/ravi_jitshared.c +++ b/src/ravi_jitshared.c @@ -1,5 +1,5 @@ /****************************************************************************** - * Copyright (C) 2015-2020 Dibyendu Majumdar + * Copyright (C) 2015-2021 Dibyendu Majumdar * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/src/ravi_jitshared.h b/src/ravi_jitshared.h index ac02bb3..4dd654f 100644 --- a/src/ravi_jitshared.h +++ b/src/ravi_jitshared.h @@ -1,5 +1,5 @@ /****************************************************************************** - * Copyright (C) 2015-2020 Dibyendu Majumdar + * Copyright (C) 2015-2021 Dibyendu Majumdar * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/src/ravi_membuf.c b/src/ravi_membuf.c index 049a5cb..3478513 100644 --- a/src/ravi_membuf.c +++ b/src/ravi_membuf.c @@ -1,5 +1,5 @@ /* -Copyright (C) 2018-2020 Dibyendu Majumdar +Copyright (C) 2018-2021 Dibyendu Majumdar */ #include "ravi_membuf.h" diff --git a/src/ravi_mirjit.c b/src/ravi_mirjit.c index 03b4c4a..dc7baec 100644 --- a/src/ravi_mirjit.c +++ b/src/ravi_mirjit.c @@ -1,5 +1,5 @@ /****************************************************************************** - * Copyright (C) 2019-2020 Dibyendu Majumdar + * Copyright (C) 2019-2021 Dibyendu Majumdar * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/src/ravi_mirjit.h b/src/ravi_mirjit.h index 4ac6261..8347ab4 100644 --- a/src/ravi_mirjit.h +++ b/src/ravi_mirjit.h @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2019-2020 Dibyendu Majumdar +* Copyright (C) 2019-2021 Dibyendu Majumdar * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/src/ravi_nojit.c b/src/ravi_nojit.c index 014ca85..17024f0 100644 --- a/src/ravi_nojit.c +++ b/src/ravi_nojit.c @@ -1,5 +1,5 @@ /****************************************************************************** -* Copyright (C) 2015-2020 Dibyendu Majumdar +* Copyright (C) 2015-2021 Dibyendu Majumdar * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the