Bug 857378 - Update YARR from WebKit upstream. r=dvander

This commit is contained in:
Sean Stangl 2013-04-03 13:47:50 -07:00
parent a100ff8821
commit 1b63e9d7ce

View File

@ -2558,6 +2558,9 @@ class YarrGenerator : private MacroAssembler {
push(X86Registers::ebp);
move(stackPointerRegister, X86Registers::ebp);
push(X86Registers::ebx);
// The ABI doesn't guarantee the upper bits are zero on unsigned arguments, so clear them ourselves.
zeroExtend32ToPtr(index, index);
zeroExtend32ToPtr(length, length);
#elif WTF_CPU_X86
push(X86Registers::ebp);
move(stackPointerRegister, X86Registers::ebp);