mirror of
https://github.com/wader/fq.git
synced 2024-12-29 16:42:06 +03:00
go fmt
This commit is contained in:
parent
1afdf8b1cf
commit
db2e621468
@ -88,6 +88,7 @@ func LuaJITDecodeHeader(di *DumpInfo, d *decode.D) {
|
||||
}
|
||||
|
||||
type jumpBias struct{}
|
||||
|
||||
func (j *jumpBias) MapUint(u scalar.Uint) (scalar.Uint, error) {
|
||||
u.Actual -= 0x8000
|
||||
return u, nil
|
||||
@ -111,6 +112,7 @@ func LuaJITDecodeBCIns(d *decode.D) {
|
||||
}
|
||||
|
||||
type ktabType struct{}
|
||||
|
||||
func (t *ktabType) MapUint(u scalar.Uint) (scalar.Uint, error) {
|
||||
switch u.Actual {
|
||||
case 0:
|
||||
@ -129,7 +131,6 @@ func (t *ktabType) MapUint(u scalar.Uint) (scalar.Uint, error) {
|
||||
return u, nil
|
||||
}
|
||||
|
||||
|
||||
func LuaJITDecodeKTabK(d *decode.D) {
|
||||
ktabtype := d.FieldULEB128("ktabtype", &ktabType{})
|
||||
|
||||
@ -162,6 +163,7 @@ func LuaJITDecodeCplx(d *decode.D) any {
|
||||
}
|
||||
|
||||
type kgcType struct{}
|
||||
|
||||
func (t *kgcType) MapUint(u scalar.Uint) (scalar.Uint, error) {
|
||||
switch u.Actual {
|
||||
case 0:
|
||||
|
@ -172,4 +172,3 @@ func init() {
|
||||
bcOpSyms[uint64(i)] = opcodes[i].Name
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user