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
4a1aeb09652f337b37c4b52797115acded81f38a
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: 343ms Template: 32ms
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