Fix Qt Build
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Jun 2011 00:18:23 +0000 (00:18 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Jun 2011 00:18:23 +0000 (00:18 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@89638 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/assembler/ARMAssembler.h

index 842b6c4..9bd68a9 100644 (file)
@@ -1,3 +1,10 @@
+2011-06-23  Oliver Hunt  <oliver@apple.com>
+
+        Fix Qt Build
+
+        * assembler/ARMAssembler.h:
+        (JSC::ARMAssembler::readPointer):
+
 2011-06-23  Stephanie Lewis  <slewis@apple.com>
 
         Reviewed by Darin Adler.
index c7d6033..8121a67 100644 (file)
@@ -743,8 +743,8 @@ namespace JSC {
         static void* readPointer(void* from)
         {
             ARMWord* insn = reinterpret_cast<ARMWord*>(from);
-            void* addr = reinterpret_cast<void*>(getLdrImmAddress(insn));
-            return *addr;
+            ARMWord* addr = getLdrImmAddress(insn));
+            return *reinterpret_cast<void**>(addr);
         }
         
         // Patch pointers