From a90a5cba08fdf6c0ceb95101c275108a152a3aed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:37 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- js/src/jit/MacroAssembler-inl.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'js/src/jit/MacroAssembler-inl.h') diff --git a/js/src/jit/MacroAssembler-inl.h b/js/src/jit/MacroAssembler-inl.h index e1df31eff9..90bf54bf00 100644 --- a/js/src/jit/MacroAssembler-inl.h +++ b/js/src/jit/MacroAssembler-inl.h @@ -484,17 +484,13 @@ void MacroAssembler::branchIfNotFunctionIsNonBuiltinCtor(Register fun, branch32(Assembler::NotEqual, scratch, Imm32(expected), label); } -void MacroAssembler::branchIfFunctionHasNoJitEntry(Register fun, - bool isConstructing, - Label* label) { - uint16_t flags = FunctionFlags::HasJitEntryFlags(isConstructing); +void MacroAssembler::branchIfFunctionHasNoJitEntry(Register fun, Label* label) { + uint16_t flags = FunctionFlags::HasJitEntryFlags(); branchTestFunctionFlags(fun, flags, Assembler::Zero, label); } -void MacroAssembler::branchIfFunctionHasJitEntry(Register fun, - bool isConstructing, - Label* label) { - uint16_t flags = FunctionFlags::HasJitEntryFlags(isConstructing); +void MacroAssembler::branchIfFunctionHasJitEntry(Register fun, Label* label) { + uint16_t flags = FunctionFlags::HasJitEntryFlags(); branchTestFunctionFlags(fun, flags, Assembler::NonZero, label); } -- cgit v1.2.3