Logo
Explore Help
Register Sign In
code/avo
1
0
Fork 0
You've already forked avo
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
b2475ec56cd78165bc2a013d013c534e61cdeb40
avo/tests/labels/doc.go

3 lines
72 B
Go
Raw Normal View History

pass: remove redundant jumps and dangling labels (#81) In jump-table-like constructs, the natural way of writing the code can sometimes produce redundant jumps or labels. Therefore some basic cleanup steps have been proposed. This diff adds two transforms: 1. Remove unconditional jumps to a label immediately following. 2. Remove labels with no references at all. Fixes #75
2019-04-15 19:42:11 -07:00
// Package labels tests for cleanup of redundant labels.
package labels
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 562ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API