ssa: remove unused funcs

This commit is contained in:
Li Jie
2025-01-13 12:12:43 +08:00
parent a7287754be
commit 6048693423
2 changed files with 0 additions and 11 deletions

View File

@@ -375,12 +375,6 @@ func (b Builder) PyFloat(fltVal Expr) (ret Expr) {
return b.Call(fn, fltVal)
}
// callPyInit calls Py_Initialize.
func (b Builder) callPyInit() (ret Expr) {
fn := b.Pkg.pyFunc("Py_Initialize", NoArgsNoRet)
return b.Call(fn)
}
// PyStr returns a py-style string constant expression.
func (b Builder) PyStr(v string) Expr {
fn := b.Pkg.pyFunc("PyUnicode_FromString", b.Prog.tyPyUnicodeFromString())