Commit cfce134a authored by Toon Verwaest's avatar Toon Verwaest Committed by Commit Bot

[macro-assembler] Delete unused SmiTest

Bug: v8:6921
Change-Id: Ic40a0fbf042c684f6ce8e0c4e3e8cc7cc0215fc3
Reviewed-on: https://chromium-review.googlesource.com/707243
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48526}
parent e8f6d0c1
...@@ -972,12 +972,6 @@ void MacroAssembler::SmiToInteger64(Register dst, const Operand& src) { ...@@ -972,12 +972,6 @@ void MacroAssembler::SmiToInteger64(Register dst, const Operand& src) {
} }
void MacroAssembler::SmiTest(Register src) {
AssertSmi(src);
testp(src, src);
}
void MacroAssembler::SmiCompare(Register smi1, Register smi2) { void MacroAssembler::SmiCompare(Register smi1, Register smi2) {
AssertSmi(smi1); AssertSmi(smi1);
AssertSmi(smi2); AssertSmi(smi2);
......
...@@ -681,8 +681,6 @@ class MacroAssembler : public TurboAssembler { ...@@ -681,8 +681,6 @@ class MacroAssembler : public TurboAssembler {
void SmiCompare(Register dst, const Operand& src); void SmiCompare(Register dst, const Operand& src);
void SmiCompare(const Operand& dst, Register src); void SmiCompare(const Operand& dst, Register src);
void SmiCompare(const Operand& dst, Smi* src); void SmiCompare(const Operand& dst, Smi* src);
// Compare the int32 in src register to the value of the smi stored at dst.
void SmiTest(Register src);
// Functions performing a check on a known or potential smi. Returns // Functions performing a check on a known or potential smi. Returns
// a condition that is satisfied if the check is successful. // a condition that is satisfied if the check is successful.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment