diff --git a/js/src/jit/VMFunctions.cpp b/js/src/jit/VMFunctions.cpp index 1229a45bb256..c8cacf8a67f9 100644 --- a/js/src/jit/VMFunctions.cpp +++ b/js/src/jit/VMFunctions.cpp @@ -1441,14 +1441,14 @@ ObjectIsConstructor(JSObject* obj) } void -MarkValueFromIon(JSRuntime* rt, Value* vp) +MarkValueFromJit(JSRuntime* rt, Value* vp) { AutoUnsafeCallWithABI unsafe; TraceManuallyBarrieredEdge(&rt->gc.marker, vp, "write barrier"); } void -MarkStringFromIon(JSRuntime* rt, JSString** stringp) +MarkStringFromJit(JSRuntime* rt, JSString** stringp) { AutoUnsafeCallWithABI unsafe; MOZ_ASSERT(*stringp); @@ -1456,7 +1456,7 @@ MarkStringFromIon(JSRuntime* rt, JSString** stringp) } void -MarkObjectFromIon(JSRuntime* rt, JSObject** objp) +MarkObjectFromJit(JSRuntime* rt, JSObject** objp) { AutoUnsafeCallWithABI unsafe; MOZ_ASSERT(*objp); @@ -1464,14 +1464,14 @@ MarkObjectFromIon(JSRuntime* rt, JSObject** objp) } void -MarkShapeFromIon(JSRuntime* rt, Shape** shapep) +MarkShapeFromJit(JSRuntime* rt, Shape** shapep) { AutoUnsafeCallWithABI unsafe; TraceManuallyBarrieredEdge(&rt->gc.marker, shapep, "write barrier"); } void -MarkObjectGroupFromIon(JSRuntime* rt, ObjectGroup** groupp) +MarkObjectGroupFromJit(JSRuntime* rt, ObjectGroup** groupp) { AutoUnsafeCallWithABI unsafe; TraceManuallyBarrieredEdge(&rt->gc.marker, groupp, "write barrier"); diff --git a/js/src/jit/VMFunctions.h b/js/src/jit/VMFunctions.h index 0d73d4ce182e..ae39eaa8f7f3 100644 --- a/js/src/jit/VMFunctions.h +++ b/js/src/jit/VMFunctions.h @@ -850,27 +850,27 @@ void AssertValidStringPtr(JSContext* cx, JSString* str); void AssertValidSymbolPtr(JSContext* cx, JS::Symbol* sym); void AssertValidValue(JSContext* cx, Value* v); -void MarkValueFromIon(JSRuntime* rt, Value* vp); -void MarkStringFromIon(JSRuntime* rt, JSString** stringp); -void MarkObjectFromIon(JSRuntime* rt, JSObject** objp); -void MarkShapeFromIon(JSRuntime* rt, Shape** shapep); -void MarkObjectGroupFromIon(JSRuntime* rt, ObjectGroup** groupp); +void MarkValueFromJit(JSRuntime* rt, Value* vp); +void MarkStringFromJit(JSRuntime* rt, JSString** stringp); +void MarkObjectFromJit(JSRuntime* rt, JSObject** objp); +void MarkShapeFromJit(JSRuntime* rt, Shape** shapep); +void MarkObjectGroupFromJit(JSRuntime* rt, ObjectGroup** groupp); // Helper for generatePreBarrier. inline void* -IonMarkFunction(MIRType type) +JitMarkFunction(MIRType type) { switch (type) { case MIRType::Value: - return JS_FUNC_TO_DATA_PTR(void*, MarkValueFromIon); + return JS_FUNC_TO_DATA_PTR(void*, MarkValueFromJit); case MIRType::String: - return JS_FUNC_TO_DATA_PTR(void*, MarkStringFromIon); + return JS_FUNC_TO_DATA_PTR(void*, MarkStringFromJit); case MIRType::Object: - return JS_FUNC_TO_DATA_PTR(void*, MarkObjectFromIon); + return JS_FUNC_TO_DATA_PTR(void*, MarkObjectFromJit); case MIRType::Shape: - return JS_FUNC_TO_DATA_PTR(void*, MarkShapeFromIon); + return JS_FUNC_TO_DATA_PTR(void*, MarkShapeFromJit); case MIRType::ObjectGroup: - return JS_FUNC_TO_DATA_PTR(void*, MarkObjectGroupFromIon); + return JS_FUNC_TO_DATA_PTR(void*, MarkObjectGroupFromJit); default: MOZ_CRASH(); } } diff --git a/js/src/jit/arm/Trampoline-arm.cpp b/js/src/jit/arm/Trampoline-arm.cpp index b4b64cf8925e..f4e685a5726c 100644 --- a/js/src/jit/arm/Trampoline-arm.cpp +++ b/js/src/jit/arm/Trampoline-arm.cpp @@ -908,7 +908,7 @@ JitRuntime::generatePreBarrier(JSContext* cx, MacroAssembler& masm, MIRType type masm.setupUnalignedABICall(r2); masm.passABIArg(r0); masm.passABIArg(r1); - masm.callWithABI(IonMarkFunction(type)); + masm.callWithABI(JitMarkFunction(type)); save.take(AnyRegister(lr)); save.add(pc); masm.PopRegsInMask(save); diff --git a/js/src/jit/arm64/Trampoline-arm64.cpp b/js/src/jit/arm64/Trampoline-arm64.cpp index caee31bfb923..25a95c7eec46 100644 --- a/js/src/jit/arm64/Trampoline-arm64.cpp +++ b/js/src/jit/arm64/Trampoline-arm64.cpp @@ -728,7 +728,7 @@ JitRuntime::generatePreBarrier(JSContext* cx, MacroAssembler& masm, MIRType type masm.setupUnalignedABICall(r0); masm.passABIArg(r3); masm.passABIArg(PreBarrierReg); - masm.callWithABI(IonMarkFunction(type)); + masm.callWithABI(JitMarkFunction(type)); // Pop the volatile regs and restore LR. masm.PopRegsInMask(regs); diff --git a/js/src/jit/mips32/Trampoline-mips32.cpp b/js/src/jit/mips32/Trampoline-mips32.cpp index 3c1ae32cc21f..bef77f84105d 100644 --- a/js/src/jit/mips32/Trampoline-mips32.cpp +++ b/js/src/jit/mips32/Trampoline-mips32.cpp @@ -884,7 +884,7 @@ JitRuntime::generatePreBarrier(JSContext* cx, MacroAssembler& masm, MIRType type masm.setupUnalignedABICall(a2); masm.passABIArg(a0); masm.passABIArg(a1); - masm.callWithABI(IonMarkFunction(type)); + masm.callWithABI(JitMarkFunction(type)); save.take(AnyRegister(ra)); masm.PopRegsInMask(save); diff --git a/js/src/jit/mips64/Trampoline-mips64.cpp b/js/src/jit/mips64/Trampoline-mips64.cpp index 396bde73f56c..4fc812bcf854 100644 --- a/js/src/jit/mips64/Trampoline-mips64.cpp +++ b/js/src/jit/mips64/Trampoline-mips64.cpp @@ -840,7 +840,7 @@ JitRuntime::generatePreBarrier(JSContext* cx, MacroAssembler& masm, MIRType type masm.setupUnalignedABICall(a2); masm.passABIArg(a0); masm.passABIArg(a1); - masm.callWithABI(IonMarkFunction(type)); + masm.callWithABI(JitMarkFunction(type)); save.take(AnyRegister(ra)); masm.PopRegsInMask(save); diff --git a/js/src/jit/x64/Trampoline-x64.cpp b/js/src/jit/x64/Trampoline-x64.cpp index 20e4f6fe7b58..aed4b6c0a7ba 100644 --- a/js/src/jit/x64/Trampoline-x64.cpp +++ b/js/src/jit/x64/Trampoline-x64.cpp @@ -789,7 +789,7 @@ JitRuntime::generatePreBarrier(JSContext* cx, MacroAssembler& masm, MIRType type masm.setupUnalignedABICall(rax); masm.passABIArg(rcx); masm.passABIArg(rdx); - masm.callWithABI(IonMarkFunction(type)); + masm.callWithABI(JitMarkFunction(type)); masm.PopRegsInMask(regs); masm.ret(); diff --git a/js/src/jit/x86/Trampoline-x86.cpp b/js/src/jit/x86/Trampoline-x86.cpp index 9ce458950832..d98e08987f54 100644 --- a/js/src/jit/x86/Trampoline-x86.cpp +++ b/js/src/jit/x86/Trampoline-x86.cpp @@ -812,7 +812,7 @@ JitRuntime::generatePreBarrier(JSContext* cx, MacroAssembler& masm, MIRType type masm.setupUnalignedABICall(eax); masm.passABIArg(ecx); masm.passABIArg(edx); - masm.callWithABI(IonMarkFunction(type)); + masm.callWithABI(JitMarkFunction(type)); masm.PopRegsInMask(save); masm.ret();