tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit fc1621fc5ee0c4a2fe6de385297771edd8a77ee4
parent 7ab9efd86d6f3cd6844fddd05f37dace87d38a0b
Author: André Bargull <andre.bargull@gmail.com>
Date:   Mon, 27 Oct 2025 15:22:12 +0000

Bug 1996344 - Part 3: Remove unused ToOperand method. r=spidermonkey-reviewers,iain

This method wasn't even used before the changes from the last part.

Differential Revision: https://phabricator.services.mozilla.com/D270020

Diffstat:
Mjs/src/jit/x86-shared/CodeGenerator-x86-shared.cpp | 4----
Mjs/src/jit/x86-shared/CodeGenerator-x86-shared.h | 1-
2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/js/src/jit/x86-shared/CodeGenerator-x86-shared.cpp b/js/src/jit/x86-shared/CodeGenerator-x86-shared.cpp @@ -1701,10 +1701,6 @@ Operand CodeGeneratorX86Shared::ToOperand(const LAllocation* a) { return ToOperand(*a); } -Operand CodeGeneratorX86Shared::ToOperand(const LDefinition* def) { - return ToOperand(def->output()); -} - MoveOperand CodeGeneratorX86Shared::toMoveOperand(LAllocation a) const { if (a.isGeneralReg()) { return MoveOperand(ToRegister(a)); diff --git a/js/src/jit/x86-shared/CodeGenerator-x86-shared.h b/js/src/jit/x86-shared/CodeGenerator-x86-shared.h @@ -35,7 +35,6 @@ class CodeGeneratorX86Shared : public CodeGeneratorShared { Operand ToOperand(const LAllocation& a); Operand ToOperand(const LAllocation* a); - Operand ToOperand(const LDefinition* def); #ifdef JS_PUNBOX64 Operand ToOperandOrRegister64(const LInt64Allocation& input);