2011-02-19 Yong Li <yoli@rim.com>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=54687
        When being built with armcc, "int" bit fields are treated as
        unsigned integers, which will fail the comparisons like "m_offset == -1".
        Using "signed" fixes the problem.

        * assembler/ARMAssembler.h:
        * assembler/ARMv7Assembler.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent b5c73370
2011-02-19 Yong Li <yoli@rim.com>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=54687
When being built with armcc, "int" bit fields are treated as
unsigned integers, which will fail the comparisons like "m_offset == -1".
Using "signed" fixes the problem.
* assembler/ARMAssembler.h:
* assembler/ARMv7Assembler.h:
2011-02-18 Geoffrey Garen <ggaren@apple.com>
Reviewed by Sam Weinig.
......
......@@ -250,7 +250,7 @@ namespace JSC {
ASSERT(m_offset == offset);
}
int m_offset : 31;
signed int m_offset : 31;
int m_used : 1;
};
......
......@@ -528,7 +528,7 @@ public:
ASSERT(m_offset == offset);
}
int m_offset : 31;
signed int m_offset : 31;
int m_used : 1;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment