From 3c816e87ef30152fc94e2a6b46b48ee43c8c8500 Mon Sep 17 00:00:00 2001 From: Timo Beckers Date: Wed, 5 Nov 2025 13:23:17 +0100 Subject: [PATCH] asm: remove deprecated Instruction.Sym This was replaced by Instruction.WithSymbol in v0.9.0 and has been deprecated since. Signed-off-by: Timo Beckers --- asm/instruction.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/asm/instruction.go b/asm/instruction.go index 391b4f6..32214df 100644 --- a/asm/instruction.go +++ b/asm/instruction.go @@ -470,13 +470,6 @@ func (ins Instruction) WithSymbol(name string) Instruction { return ins } -// Sym creates a symbol. -// -// Deprecated: use WithSymbol instead. -func (ins Instruction) Sym(name string) Instruction { - return ins.WithSymbol(name) -} - // Symbol returns the value ins has been marked with using WithSymbol, // otherwise returns an empty string. A symbol is often an Instruction // at the start of a function body. -- 2.43.0