Bug 792581 - part 7 - Remove LL_AND macro with logical AND. r=ehsan
authorAndrew Quartey <andrew.quartey@gmail.com>
Fri, 05 Oct 2012 01:05:27 -0400
changeset 109323 91edf65b6279bd5d7ed93aadcb32df3cfc7ec971
parent 109322 825de541f566ffb262b697e654321643201baf27
child 109324 721cf3acc2694a7263a5fbf568de8597ab028771
push id15971
push userandrew.quartey@gmail.com
push dateFri, 05 Oct 2012 05:05:49 +0000
treeherdermozilla-inbound@01ada5d631e7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs792581
milestone18.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 792581 - part 7 - Remove LL_AND macro with logical AND. r=ehsan
rdf/base/src/nsRDFService.cpp
--- a/rdf/base/src/nsRDFService.cpp
+++ b/rdf/base/src/nsRDFService.cpp
@@ -238,17 +238,17 @@ struct DateHashEntry : public PLDHashEnt
     static PLDHashNumber
     HashKey(PLDHashTable *table, const void *key)
     {
         // xor the low 32 bits with the high 32 bits.
         PRTime t = *static_cast<const PRTime *>(key);
         int64_t h64, l64;
         LL_USHR(h64, t, 32);
         l64 = LL_INIT(0, 0xffffffff);
-        LL_AND(l64, l64, t);
+        l64 &= t;
         int32_t h32, l32;
         LL_L2I(h32, h64);
         LL_L2I(l32, l64);
         return PLDHashNumber(l32 ^ h32);
     }
 
     static bool
     MatchEntry(PLDHashTable *table, const PLDHashEntryHdr *hdr,