Index: src/base/division-by-constant.cc |
diff --git a/src/base/division-by-constant.cc b/src/base/division-by-constant.cc |
index 5167b7a60c9f0ac9a9f1358c1e7a303e5aa2a737..3d8fc1a4a9ca473cfa8601a24baca4225ee7809f 100644 |
--- a/src/base/division-by-constant.cc |
+++ b/src/base/division-by-constant.cc |
@@ -13,13 +13,6 @@ namespace v8 { |
namespace base { |
template <class T> |
-bool MagicNumbersForDivision<T>::operator==( |
- const MagicNumbersForDivision& rhs) const { |
- return multiplier == rhs.multiplier && shift == rhs.shift && add == rhs.add; |
-} |
- |
- |
-template <class T> |
MagicNumbersForDivision<T> SignedDivisionByConstant(T d) { |
STATIC_ASSERT(static_cast<T>(0) < static_cast<T>(-1)); |
DCHECK(d != static_cast<T>(-1) && d != 0 && d != 1); |
@@ -100,9 +93,6 @@ MagicNumbersForDivision<T> UnsignedDivisionByConstant(T d, |
// ----------------------------------------------------------------------------- |
// Instantiations. |
-template struct MagicNumbersForDivision<uint32_t>; |
-template struct MagicNumbersForDivision<uint64_t>; |
- |
template MagicNumbersForDivision<uint32_t> SignedDivisionByConstant(uint32_t d); |
template MagicNumbersForDivision<uint64_t> SignedDivisionByConstant(uint64_t d); |