mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +00:00
internal/ops: remove unused TypePushTransform
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -51,7 +51,6 @@ const (
|
|||||||
TypeMacro OpType = iota + firstOpIndex
|
TypeMacro OpType = iota + firstOpIndex
|
||||||
TypeCall
|
TypeCall
|
||||||
TypeDefer
|
TypeDefer
|
||||||
TypePushTransform
|
|
||||||
TypeTransform
|
TypeTransform
|
||||||
TypePopTransform
|
TypePopTransform
|
||||||
TypeInvalidate
|
TypeInvalidate
|
||||||
@@ -135,7 +134,6 @@ const (
|
|||||||
TypeMacroLen = 1 + 4 + 4
|
TypeMacroLen = 1 + 4 + 4
|
||||||
TypeCallLen = 1 + 4 + 4 + 4 + 4
|
TypeCallLen = 1 + 4 + 4 + 4 + 4
|
||||||
TypeDeferLen = 1
|
TypeDeferLen = 1
|
||||||
TypePushTransformLen = 1 + 4*6
|
|
||||||
TypeTransformLen = 1 + 1 + 4*6
|
TypeTransformLen = 1 + 1 + 4*6
|
||||||
TypePopTransformLen = 1
|
TypePopTransformLen = 1
|
||||||
TypeRedrawLen = 1 + 8
|
TypeRedrawLen = 1 + 8
|
||||||
@@ -410,7 +408,6 @@ var opProps = [0x100]opProp{
|
|||||||
TypeMacro: {Size: TypeMacroLen, NumRefs: 0},
|
TypeMacro: {Size: TypeMacroLen, NumRefs: 0},
|
||||||
TypeCall: {Size: TypeCallLen, NumRefs: 1},
|
TypeCall: {Size: TypeCallLen, NumRefs: 1},
|
||||||
TypeDefer: {Size: TypeDeferLen, NumRefs: 0},
|
TypeDefer: {Size: TypeDeferLen, NumRefs: 0},
|
||||||
TypePushTransform: {Size: TypePushTransformLen, NumRefs: 0},
|
|
||||||
TypeTransform: {Size: TypeTransformLen, NumRefs: 0},
|
TypeTransform: {Size: TypeTransformLen, NumRefs: 0},
|
||||||
TypePopTransform: {Size: TypePopTransformLen, NumRefs: 0},
|
TypePopTransform: {Size: TypePopTransformLen, NumRefs: 0},
|
||||||
TypeInvalidate: {Size: TypeRedrawLen, NumRefs: 0},
|
TypeInvalidate: {Size: TypeRedrawLen, NumRefs: 0},
|
||||||
@@ -469,8 +466,6 @@ func (t OpType) String() string {
|
|||||||
return "Call"
|
return "Call"
|
||||||
case TypeDefer:
|
case TypeDefer:
|
||||||
return "Defer"
|
return "Defer"
|
||||||
case TypePushTransform:
|
|
||||||
return "PushTransform"
|
|
||||||
case TypeTransform:
|
case TypeTransform:
|
||||||
return "Transform"
|
return "Transform"
|
||||||
case TypePopTransform:
|
case TypePopTransform:
|
||||||
|
|||||||
Reference in New Issue
Block a user