Reviewers: Søren Gjesse,

Description:
Fix thinko in arm transcendental cache probing introduced just before
committing.


Please review this at http://codereview.chromium.org/2764009/show

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/arm/codegen-arm.cc


Index: src/arm/codegen-arm.cc
===================================================================
--- src/arm/codegen-arm.cc      (revision 4843)
+++ src/arm/codegen-arm.cc      (working copy)
@@ -8278,7 +8278,7 @@
     // r3 = high 32 bits of double value
     // Compute hash:
// h = (low ^ high); h ^= h >> 16; h ^= h >> 8; h = h & (cacheSize - 1);
-    __ eor(r1, r2, Operand(r2));
+    __ eor(r1, r2, Operand(r3));
     __ eor(r1, r1, Operand(r1, LSR, 16));
     __ eor(r1, r1, Operand(r1, LSR, 8));
     ASSERT(IsPowerOf2(TranscendentalCache::kCacheSize));


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to