Fix css jit register usage on armv7.
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jun 2014 17:49:36 +0000 (17:49 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jun 2014 17:49:36 +0000 (17:49 +0000)
commit207436debbe30a11965ebd253e766544ad241a42
tree0c40d1f4f63a6c4e9b36875b13f530da22e35899
parentc1eb6f6dffd18ba022704d83f473ecf2863d164d
Fix css jit register usage on armv7.
https://bugs.webkit.org/show_bug.cgi?id=133952

Reviewed by Benjamin Poulain.

* cssjit/RegisterAllocator.h:
List r7 as a callee saved register, which it is.
* cssjit/SelectorCompiler.cpp:
(WebCore::SelectorCompiler::SelectorCodeGenerator::generatePrologue):
(WebCore::SelectorCompiler::SelectorCodeGenerator::generateEpilogue):
Save r6, which is used as a temporary register and must be preserved.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170059 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/cssjit/RegisterAllocator.h
Source/WebCore/cssjit/SelectorCompiler.cpp