From 8fc99e1793a3456b8a547782e0ef52111eccc74b Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 10 Sep 2020 18:43:46 -0700 Subject: [PATCH] Remove dead function in ctor_evaller.py (#12160) --- tools/ctor_evaller.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/ctor_evaller.py b/tools/ctor_evaller.py index ce83b6e40..2a1ecdbe0 100755 --- a/tools/ctor_evaller.py +++ b/tools/ctor_evaller.py @@ -17,7 +17,7 @@ import sys sys.path.insert(1, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) -from tools import shared, js_optimizer +from tools import shared js_file = sys.argv[1] @@ -38,10 +38,6 @@ logger = logging.getLogger('ctor_evaller') # helpers -def get_asm(js): - return js[js.find(js_optimizer.start_asm_marker):js.find(js_optimizer.end_asm_marker)] - - def find_ctors(js): ctors_start = js.find('__ATINIT__.push(') if ctors_start < 0: