tor-browser

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

commit 7b29457f213ccab25b5e2ea05bae3210936f0c57
parent 1f3652d44b7e529155e4a967b88b556dd4b76375
Author: André Bargull <andre.bargull@gmail.com>
Date:   Mon, 27 Oct 2025 09:00:00 +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);