aboutsummaryrefslogtreecommitdiff
path: root/src/llvm.cff
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-09-01 11:30:27 +0200
committerlemon <lsof@mailbox.org>2022-09-01 11:30:27 +0200
commit7b7e6fd49529adda020077baf962868136d7a005 (patch)
tree8b221fbe28d9f6a13b3354a9697789a44a020132 /src/llvm.cff
parent55abd40aa95d36167950823bf77f4bf24c403102 (diff)
replace instances of streq with ==
where strings are interned, this is ok. this was the intention of interning strings from the beginning.
Diffstat (limited to 'src/llvm.cff')
-rw-r--r--src/llvm.cff2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm.cff b/src/llvm.cff
index 5bb39c5..bb07c77 100644
--- a/src/llvm.cff
+++ b/src/llvm.cff
@@ -1270,7 +1270,7 @@ struct GloblKeyTraits {
return h;
}
fn eq(a GloblKey, b GloblKey) bool {
- return streq(a.name, b.name) and a.externp == b.externp;
+ return a.name == b.name and a.externp == b.externp;
}
}
static globls Map<GloblKey, GloblEntry, GloblKeyTraits> = {};