components/desktop/firefox/patches/firefox16-48-sparc-lea.patch
changeset 5527 611b2d6efdfe
parent 5526 570ac9aab8b2
child 5528 f2f5af510081
--- a/components/desktop/firefox/patches/firefox16-48-sparc-lea.patch	Tue Mar 01 10:33:35 2016 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-Implements PolyIC for sparc. 
-This is going away in the future so no need to send upstream. 
-
---- mozilla-esr31/js/src/assembler/assembler/MacroAssemblerSparc.h.orig	2015-06-04 17:42:51.582947696 -0700
-+++ mozilla-esr31/js/src/assembler/assembler/MacroAssemblerSparc.h	2015-06-04 17:42:51.585565407 -0700
-@@ -1005,9 +1005,12 @@
- 
-         void lea(BaseIndex address, RegisterID dest)
-         {
--            // lea only used by PolyIC.
--            // PolyIC is not enabled for sparc now.
--            ASSERT(0);
-+            move(address.index, dest);
-+            if (address.scale != 0)
-+                lshift32(Imm32(address.scale), dest);
-+            if (address.offset)
-+                add32(Imm32(address.offset), dest);
-+            add32(address.base, dest);
-         }
- 
-         void add32(Imm32 imm, AbsoluteAddress address)