From 1b6afe4bf0c84b3277eab4c884031c1fa6bd3c46 Mon Sep 17 00:00:00 2001 From: Clemens Hammacher Date: Fri, 28 Sep 2018 12:06:39 +0200 Subject: [PATCH] [assembler] Remove dead no_reg definitions We have the generic {no_reg} and {no_dreg}, other definitions are dead. Currently even {no_dreg} is dead, but I am keeping this because I can see future need for that. R=mstarzinger@chromium.org Bug: v8:8238 Change-Id: I0de597fead6b3def18fd5c530419d3c149f235a8 Reviewed-on: https://chromium-review.googlesource.com/1251123 Reviewed-by: Michael Starzinger Commit-Queue: Clemens Hammacher Cr-Commit-Position: refs/heads/master@{#56288} --- src/ia32/assembler-ia32.h | 1 - src/mips/assembler-mips.h | 1 - src/mips64/assembler-mips64.h | 1 - src/x64/assembler-x64.h | 1 - 4 files changed, 4 deletions(-) diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h index c2c9771037..b721542f13 100644 --- a/src/ia32/assembler-ia32.h +++ b/src/ia32/assembler-ia32.h @@ -140,7 +140,6 @@ typedef XMMRegister Simd128Register; constexpr DoubleRegister R = DoubleRegister::from_code(); DOUBLE_REGISTERS(DEFINE_REGISTER) #undef DEFINE_REGISTER -constexpr DoubleRegister no_double_reg = DoubleRegister::no_reg(); constexpr DoubleRegister no_dreg = DoubleRegister::no_reg(); // Note that the bit values must match those used in actual instruction encoding diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h index c6b705bba1..1067ef4793 100644 --- a/src/mips/assembler-mips.h +++ b/src/mips/assembler-mips.h @@ -304,7 +304,6 @@ typedef FPURegister DoubleRegister; DOUBLE_REGISTERS(DECLARE_DOUBLE_REGISTER) #undef DECLARE_DOUBLE_REGISTER -constexpr DoubleRegister no_freg = DoubleRegister::no_reg(); constexpr DoubleRegister no_dreg = DoubleRegister::no_reg(); // SIMD registers. diff --git a/src/mips64/assembler-mips64.h b/src/mips64/assembler-mips64.h index 30f67d3a0e..814f3eacba 100644 --- a/src/mips64/assembler-mips64.h +++ b/src/mips64/assembler-mips64.h @@ -309,7 +309,6 @@ typedef FPURegister DoubleRegister; DOUBLE_REGISTERS(DECLARE_DOUBLE_REGISTER) #undef DECLARE_DOUBLE_REGISTER -constexpr DoubleRegister no_freg = DoubleRegister::no_reg(); constexpr DoubleRegister no_dreg = DoubleRegister::no_reg(); // SIMD registers. diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h index 63190cc03d..a0af3a3509 100644 --- a/src/x64/assembler-x64.h +++ b/src/x64/assembler-x64.h @@ -219,7 +219,6 @@ typedef XMMRegister Simd128Register; constexpr DoubleRegister R = DoubleRegister::from_code(); DOUBLE_REGISTERS(DECLARE_REGISTER) #undef DECLARE_REGISTER -constexpr DoubleRegister no_double_reg = DoubleRegister::no_reg(); constexpr DoubleRegister no_dreg = DoubleRegister::no_reg(); enum Condition {