From 7b7e6fd49529adda020077baf962868136d7a005 Mon Sep 17 00:00:00 2001 From: lemon Date: Thu, 1 Sep 2022 11:30:27 +0200 Subject: replace instances of streq with == where strings are interned, this is ok. this was the intention of interning strings from the beginning. --- src/llvm.cff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/llvm.cff') 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 = {}; -- cgit v1.2.3