Move DivisionByConstant template instantiations to cpp file
R=bmeurer@chromium.org BUG= Review-Url: https://chromiumcodereview.appspot.com/2437733002 Cr-Commit-Position: refs/heads/master@{#40436}
This commit is contained in:
parent
b888150afd
commit
e4ac0105b8
@ -93,6 +93,9 @@ MagicNumbersForDivision<T> UnsignedDivisionByConstant(T d,
|
||||
// -----------------------------------------------------------------------------
|
||||
// Instantiations.
|
||||
|
||||
template struct V8_BASE_EXPORT MagicNumbersForDivision<uint32_t>;
|
||||
template struct V8_BASE_EXPORT MagicNumbersForDivision<uint64_t>;
|
||||
|
||||
template MagicNumbersForDivision<uint32_t> SignedDivisionByConstant(uint32_t d);
|
||||
template MagicNumbersForDivision<uint64_t> SignedDivisionByConstant(uint64_t d);
|
||||
|
||||
|
@ -44,9 +44,6 @@ template <class T>
|
||||
V8_BASE_EXPORT MagicNumbersForDivision<T> UnsignedDivisionByConstant(
|
||||
T d, unsigned leading_zeros = 0);
|
||||
|
||||
template struct V8_BASE_EXPORT MagicNumbersForDivision<uint32_t>;
|
||||
template struct V8_BASE_EXPORT MagicNumbersForDivision<uint64_t>;
|
||||
|
||||
extern template V8_BASE_EXPORT MagicNumbersForDivision<uint32_t>
|
||||
SignedDivisionByConstant(uint32_t d);
|
||||
extern template V8_BASE_EXPORT MagicNumbersForDivision<uint64_t>
|
||||
|
Loading…
Reference in New Issue
Block a user