From: Brendan Hansen Date: Tue, 24 May 2022 21:39:35 +0000 (-0500) Subject: removing unneeded code X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=248f7aff32f021d352f91a31e176569b25eae3cc;p=onyx.git removing unneeded code --- diff --git a/build.sh b/build.sh index 467e4e53..6a3694fe 100755 --- a/build.sh +++ b/build.sh @@ -69,7 +69,6 @@ if [ ! -z "$ENABLE_BUNDLING_WASMER" ]; then # sudo cp "$WASMER_LIBRARY_DIR/libiwasm.so" "$CORE_DIR/lib/libiwasm.so" sudo cp "$WASMER_LIBRARY_DIR/libwasmer.so" "$CORE_DIR/lib/libwasmer.so" - sudo cp "$WASMER_LIBRARY_DIR/libwasmer.a" "$CORE_DIR/lib/libwasmer.a" sudo cp "include/onyx_library.h" "$CORE_DIR/include/onyx_library.h" sudo cp "lib/common/include/wasm.h" "$CORE_DIR/include/wasm.h" diff --git a/include/astnodes.h b/include/astnodes.h index 89b0f082..1ba0d254 100644 --- a/include/astnodes.h +++ b/include/astnodes.h @@ -695,7 +695,6 @@ struct AstRangeLiteral { struct AstCall { AstTyped_base; - Arguments original_args; Arguments args; union { diff --git a/lib/linux_aarch64/lib/libwasmer.a b/lib/linux_aarch64/lib/libwasmer.a deleted file mode 100644 index 34f9d15a..00000000 Binary files a/lib/linux_aarch64/lib/libwasmer.a and /dev/null differ diff --git a/lib/linux_x86_64/lib/libwasmer.a b/lib/linux_x86_64/lib/libwasmer.a deleted file mode 100644 index 1a1b10fd..00000000 Binary files a/lib/linux_x86_64/lib/libwasmer.a and /dev/null differ diff --git a/src/checker.c b/src/checker.c index b7980be8..b170e534 100644 --- a/src/checker.c +++ b/src/checker.c @@ -616,12 +616,6 @@ CheckStatus check_call(AstCall** pcall) { CHECK(arguments, &call->args); current_checking_level = current_checking_level_store; - // SPEED CLEANUP: Keeping an original copy for basically no reason except that sometimes you - // need to know the baked argument values in code generation. - // This should only be done once, but right now it is being done everytime this is checked, - // which can be multiple if we have to yield on a callee's type. - arguments_clone(&call->original_args, &call->args); - AstFunction* callee=NULL; CHECK(resolve_callee, call, (AstTyped **) &callee);