Skip to content

Commit e071387

Browse files
committed
Remove unused constant type
1 parent cd98376 commit e071387

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

instparse.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ def inputs(self):
109109
def outputs(self):
110110
return self._opdinfo.outputs()
111111

112-
def constants(self):
113-
return self._opdinfo.constants()
114-
115112
def syntax(self):
116113
return self._opdinfo.syntax().replace("%opcode", self._name)
117114

@@ -134,9 +131,6 @@ def __init__(self, opinfo):
134131
self._outputs = {}
135132
for iname, itype in opinfo.get("outputs", {}).items():
136133
self._outputs[iname] = itype
137-
self._constants = {}
138-
for iname, opsz in opinfo.get("constants", {}).items():
139-
self._constants[iname] = opsz
140134

141135
def syntax(self):
142136
return self._syntax
@@ -150,9 +144,6 @@ def inputs(self):
150144
def outputs(self):
151145
return self._outputs
152146

153-
def constants(self):
154-
return self._constants
155-
156147
def copy(self):
157148
return copy.deepcopy(self)
158149

0 commit comments

Comments
 (0)