mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Fixes to VMFunctions.cpp, assert no longer crashes.
Fixes to VMFunctions.cpp, assert no longer crashes.
This commit is contained in:
parent
6292bee1ed
commit
31404beca9
2 changed files with 2 additions and 2 deletions
|
|
@ -316,7 +316,7 @@ BaselineCacheIRCompiler::emitGuardSpecificAtom()
|
|||
|
||||
// The pointers are not equal, so if the input string is also an atom it
|
||||
// must be a different string.
|
||||
masm.branchTest32(Assembler::NonZero, Address(str, JSString::offsetOfFlags()),
|
||||
masm.branchTest32(Assembler::Zero, Address(str, JSString::offsetOfFlags()),
|
||||
Imm32(JSString::NON_ATOM_BIT), failure->label());
|
||||
|
||||
// Check the length.
|
||||
|
|
|
|||
|
|
@ -684,7 +684,7 @@ IonCacheIRCompiler::emitGuardSpecificAtom()
|
|||
|
||||
// The pointers are not equal, so if the input string is also an atom it
|
||||
// must be a different string.
|
||||
masm.branchTest32(Assembler::NonZero, Address(str, JSString::offsetOfFlags()),
|
||||
masm.branchTest32(Assembler::Zero, Address(str, JSString::offsetOfFlags()),
|
||||
Imm32(JSString::NON_ATOM_BIT), failure->label());
|
||||
|
||||
// Check the length.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue