Broken Build for ARM - lshift32() needs TrustedImm32 arg
authormsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Sep 2011 23:14:30 +0000 (23:14 +0000)
committermsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Sep 2011 23:14:30 +0000 (23:14 +0000)
https://bugs.webkit.org/show_bug.cgi?id=67965

Change lshift32(16, ARMRegisters::S1); to lshift32(TrustedImm32(16), ARMRegisters::S1);

Reviewed by Anders Carlsson.

* assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::branch16):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@94987 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/assembler/MacroAssemblerARM.h

index 4f214a1..728f6c7 100644 (file)
@@ -1,5 +1,17 @@
 2011-09-12  Michael Saboff  <msaboff@apple.com>
 
+        Broken Build for ARM - lshift32() needs TrustedImm32 arg
+        https://bugs.webkit.org/show_bug.cgi?id=67965
+
+        Change lshift32(16, ARMRegisters::S1); to lshift32(TrustedImm32(16), ARMRegisters::S1);
+
+        Reviewed by Anders Carlsson.
+
+        * assembler/MacroAssemblerARM.h:
+        (JSC::MacroAssemblerARM::branch16):
+
+2011-09-12  Michael Saboff  <msaboff@apple.com>
+
         Broken ARM build - missing semicolon in JavaScriptCore/assembler/MacroAssemblerARM.h
         https://bugs.webkit.org/show_bug.cgi?id=67961
 
index b39f30b..7ca38f0 100644 (file)
@@ -426,7 +426,7 @@ public:
         ASSERT(!(right.m_value & 0xFFFF0000));
         right.m_value <<= 16;
         m_assembler.mov_r(ARMRegisters::S1, left);
-        lshift32(16, ARMRegisters::S1);
+        lshift32(TrustedImm32(16), ARMRegisters::S1);
         return branch32(cond, ARMRegisters::S1, right);
     }