aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/include/rcc/CodeGen/MachineFunctionProperties.h1
-rw-r--r--backend/lib/CodeGen/MachineFunctionProperties.cpp4
2 files changed, 0 insertions, 5 deletions
diff --git a/backend/include/rcc/CodeGen/MachineFunctionProperties.h b/backend/include/rcc/CodeGen/MachineFunctionProperties.h
index 39a4fce..95b247c 100644
--- a/backend/include/rcc/CodeGen/MachineFunctionProperties.h
+++ b/backend/include/rcc/CodeGen/MachineFunctionProperties.h
@@ -34,7 +34,6 @@ enum class MachineFunctionProperty : std::uint8_t {
Count,
};
-[[nodiscard]] bool isKnownMachineFunctionProperty(MachineFunctionProperty Property) noexcept;
[[nodiscard]] std::string_view
getMachineFunctionPropertyName(MachineFunctionProperty Property) noexcept;
diff --git a/backend/lib/CodeGen/MachineFunctionProperties.cpp b/backend/lib/CodeGen/MachineFunctionProperties.cpp
index d3dfdac..829ad3e 100644
--- a/backend/lib/CodeGen/MachineFunctionProperties.cpp
+++ b/backend/lib/CodeGen/MachineFunctionProperties.cpp
@@ -28,10 +28,6 @@ static_assert(PropertyNames.size() == static_cast<std::size_t>(MachineFunctionPr
} // namespace
-bool isKnownMachineFunctionProperty(MachineFunctionProperty Property) noexcept {
- return static_cast<std::size_t>(Property) < PropertyNames.size();
-}
-
std::string_view getMachineFunctionPropertyName(MachineFunctionProperty Property) noexcept {
const auto Index = static_cast<std::size_t>(Property);
if (Index >= PropertyNames.size())