diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-07-03 23:56:48 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-07-03 23:56:48 -0700 |
commit | 06abba2607926e07e265f5b056a23a38ef9bf45d (patch) | |
tree | 20e985102ac7d9ddc455e3292184f26a331db1d7 /subx/058stream-equal.subx | |
parent | 76aec0e63692ab9411bdda37eb50a778475e0c40 (diff) | |
parent | cdf85518dfb364d816e0db1448e20bf30b2b65f9 (diff) | |
download | mu-06abba2607926e07e265f5b056a23a38ef9bf45d.tar.gz |
Merge branch 'master' into survey
High time we pulled in the final changes to dquotes. In the process we fix one recently introduced duplicate symbol.
Diffstat (limited to 'subx/058stream-equal.subx')
-rw-r--r-- | subx/058stream-equal.subx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subx/058stream-equal.subx b/subx/058stream-equal.subx index c65112cc..68296212 100644 --- a/subx/058stream-equal.subx +++ b/subx/058stream-equal.subx @@ -26,6 +26,7 @@ stream-data-equal?: # f : (address stream), s : (address string) -> EAX : boole # EDI = s 8b/copy 1/mod/*+disp8 5/rm32/EBP . . . 7/r32/EDI 0xc/disp8 . # copy *(EBP+12) to EDI # if (f->write != s->length) return false +$stream-data-equal?:compare-lengths: 39/compare 0/mod/indirect 7/rm32/EDI . . . 0/r32/EAX . . # compare *EDI and EAX 75/jump-if-not-equal $stream-data-equal?:false/disp8 # currs/EDI = s->data |