From 32ab8bac04af52121c6985a9a019c0fdec957f03 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Mon, 27 Jul 2020 22:23:17 -0700 Subject: Move stack-check into its own pass (#2994) This new pass takes an optional stack-check-handler argument which is the name of the function to call on stack overflow. If no argument is passed then it just traps. --- src/pass.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/pass.h') diff --git a/src/pass.h b/src/pass.h index 760feb7c0..8b8e73fa0 100644 --- a/src/pass.h +++ b/src/pass.h @@ -153,7 +153,6 @@ struct PassRunner { PassRunner(const PassRunner&) = delete; PassRunner& operator=(const PassRunner&) = delete; - void setOptions(PassOptions newOptions) { options = newOptions; } void setDebug(bool debug) { options.debug = debug; // validate everything by default if debugging -- cgit v1.2.3