Skip to content

Commit 030f8df

Browse files
remove equal for MemInst
1 parent cf35a6a commit 030f8df

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

design/mvp/CanonicalABI.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,6 @@ class MemInst:
269269

270270
def ptr_size(self):
271271
return ptr_size(self.ptr_type())
272-
273-
def equal(lhs, rhs):
274-
return lhs.bytes == rhs.bytes and \
275-
lhs.addrtype == rhs.addrtype
276272
```
277273
The `ptr_type` and `ptr_size` methods return the core value type and byte
278274
size of memory pointers.

design/mvp/canonical-abi/definitions.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,6 @@ def ptr_type(self):
257257
def ptr_size(self):
258258
return ptr_size(self.ptr_type())
259259

260-
def equal(lhs, rhs):
261-
return lhs.bytes == rhs.bytes and \
262-
lhs.addrtype == rhs.addrtype
263-
264260
@dataclass
265261
class LiftOptions:
266262
string_encoding: str = 'utf8'

0 commit comments

Comments
 (0)