| Index: src/base/macros.h
|
| diff --git a/src/base/macros.h b/src/base/macros.h
|
| index da6e2f6e04f210b2135c0d931be9c8079b408b70..a951c2ba81f903468da7665245b76757cefe391a 100644
|
| --- a/src/base/macros.h
|
| +++ b/src/base/macros.h
|
| @@ -271,20 +271,4 @@ inline T RoundUp(T x, intptr_t m) {
|
| return RoundDown<T>(static_cast<T>(x + m - 1), m);
|
| }
|
|
|
| -
|
| -template <typename T, typename U>
|
| -inline bool IsAligned(T value, U alignment) {
|
| - return (value & (alignment - 1)) == 0;
|
| -}
|
| -
|
| -
|
| -// Returns current value of top of the stack. Works correctly with ASAN.
|
| -DISABLE_ASAN
|
| -inline uintptr_t GetCurrentStackPosition() {
|
| - // Takes the address of the limit variable in order to find out where
|
| - // the top of stack is right now.
|
| - uintptr_t limit = reinterpret_cast<uintptr_t>(&limit);
|
| - return limit;
|
| -}
|
| -
|
| #endif // V8_BASE_MACROS_H_
|
|
|