Skip to content

Commit ae43d18

Browse files
committed
internal/ops: remove unused TypePushTransform
Signed-off-by: Elias Naur <mail@eliasnaur.com>
1 parent b4d9337 commit ae43d18

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

internal/ops/ops.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ const (
5151
TypeMacro OpType = iota + firstOpIndex
5252
TypeCall
5353
TypeDefer
54-
TypePushTransform
5554
TypeTransform
5655
TypePopTransform
5756
TypeInvalidate
@@ -135,7 +134,6 @@ const (
135134
TypeMacroLen = 1 + 4 + 4
136135
TypeCallLen = 1 + 4 + 4 + 4 + 4
137136
TypeDeferLen = 1
138-
TypePushTransformLen = 1 + 4*6
139137
TypeTransformLen = 1 + 1 + 4*6
140138
TypePopTransformLen = 1
141139
TypeRedrawLen = 1 + 8
@@ -410,7 +408,6 @@ var opProps = [0x100]opProp{
410408
TypeMacro: {Size: TypeMacroLen, NumRefs: 0},
411409
TypeCall: {Size: TypeCallLen, NumRefs: 1},
412410
TypeDefer: {Size: TypeDeferLen, NumRefs: 0},
413-
TypePushTransform: {Size: TypePushTransformLen, NumRefs: 0},
414411
TypeTransform: {Size: TypeTransformLen, NumRefs: 0},
415412
TypePopTransform: {Size: TypePopTransformLen, NumRefs: 0},
416413
TypeInvalidate: {Size: TypeRedrawLen, NumRefs: 0},
@@ -469,8 +466,6 @@ func (t OpType) String() string {
469466
return "Call"
470467
case TypeDefer:
471468
return "Defer"
472-
case TypePushTransform:
473-
return "PushTransform"
474469
case TypeTransform:
475470
return "Transform"
476471
case TypePopTransform:

0 commit comments

Comments
 (0)