mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-13 07:24:47 +00:00
Bug 857378 - Update YARR from WebKit upstream. r=dvander
This commit is contained in:
parent
6c2c636700
commit
9abf5b6cb0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user