Title: [172578] trunk/Source/_javascript_Core
Revision
172578
Author
[email protected]
Date
2014-08-14 01:49:48 -0700 (Thu, 14 Aug 2014)

Log Message

Fix JSC::ARM64Assembler::LinkRecord::RealTypes
https://bugs.webkit.org/show_bug.cgi?id=135906

Patch by Akos Kiss <[email protected]> on 2014-08-14
Reviewed by Michael Saboff.

JSC::ARM64Assembler::LinkRecord::RealTypes::m_compareRegister is defined
to occupy 5 bits but JSC::ARM64Assembler::RegisterID needs 6 bits. So,
increase the size of the bit field and also reorganize the struct to
better align with word boundaries.

* assembler/ARM64Assembler.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (172577 => 172578)


--- trunk/Source/_javascript_Core/ChangeLog	2014-08-14 05:09:32 UTC (rev 172577)
+++ trunk/Source/_javascript_Core/ChangeLog	2014-08-14 08:49:48 UTC (rev 172578)
@@ -1,3 +1,17 @@
+2014-08-14  Akos Kiss  <[email protected]>
+
+        Fix JSC::ARM64Assembler::LinkRecord::RealTypes
+        https://bugs.webkit.org/show_bug.cgi?id=135906
+
+        Reviewed by Michael Saboff.
+
+        JSC::ARM64Assembler::LinkRecord::RealTypes::m_compareRegister is defined
+        to occupy 5 bits but JSC::ARM64Assembler::RegisterID needs 6 bits. So,
+        increase the size of the bit field and also reorganize the struct to 
+        better align with word boundaries.
+
+        * assembler/ARM64Assembler.h:
+
 2014-08-13  Akos Kiss  <[email protected]>
 
         Add ARM64 support to CMake-based builds

Modified: trunk/Source/_javascript_Core/assembler/ARM64Assembler.h (172577 => 172578)


--- trunk/Source/_javascript_Core/assembler/ARM64Assembler.h	2014-08-14 05:09:32 UTC (rev 172577)
+++ trunk/Source/_javascript_Core/assembler/ARM64Assembler.h	2014-08-14 08:49:48 UTC (rev 172578)
@@ -624,9 +624,9 @@
                 JumpType m_type : 8;
                 JumpLinkType m_linkType : 8;
                 Condition m_condition : 4;
+                unsigned m_bitNumber : 6;
+                RegisterID m_compareRegister : 6;
                 bool m_is64Bit : 1;
-                unsigned m_bitNumber : 6;
-                RegisterID m_compareRegister : 5;
             } realTypes;
             struct CopyTypes {
                 uint64_t content[3];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to