Remove dead function in ctor_evaller.py (#12160)
This commit is contained in:
Родитель
43396e6565
Коммит
8fc99e1793
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче