| Index: src/base/macros.h
|
| diff --git a/src/base/macros.h b/src/base/macros.h
|
| index e3866173be622aca3652d2f5f5ece68b1fee96fd..33a0ef0f4f8fb937382a17001a0a3848260f9eab 100644
|
| --- a/src/base/macros.h
|
| +++ b/src/base/macros.h
|
| @@ -282,23 +282,4 @@ inline T RoundUp(T x, intptr_t m) {
|
| return RoundDown<T>(static_cast<T>(x + m - 1), m);
|
| }
|
|
|
| -
|
| -namespace v8 {
|
| -namespace base {
|
| -
|
| -// TODO(yangguo): This is a poor man's replacement for std::is_fundamental,
|
| -// which requires C++11. Switch to std::is_fundamental once possible.
|
| -template <typename T>
|
| -inline bool is_fundamental() {
|
| - return false;
|
| -}
|
| -
|
| -template <>
|
| -inline bool is_fundamental<uint8_t>() {
|
| - return true;
|
| -}
|
| -
|
| -} // namespace base
|
| -} // namespace v8
|
| -
|
| #endif // V8_BASE_MACROS_H_
|
|
|