From d93346d0fcd176e5e8f489611eedee10a5a9dcb9 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Fri, 11 Jan 2013 21:01:14 +0400 Subject: [PATCH] Revert "typed arrays: fix build on sunos" This reverts commit 35a137cf8dcec75fd4cc11bbd8eb22cc2c1d7ece. --- src/v8_typed_array_bswap.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/v8_typed_array_bswap.h b/src/v8_typed_array_bswap.h index 5b3aec0433c..c8a24f58405 100644 --- a/src/v8_typed_array_bswap.h +++ b/src/v8_typed_array_bswap.h @@ -131,8 +131,6 @@ inline uint8_t SwapBytes(uint8_t x) { return x; } template <> inline int8_t SwapBytes(int8_t x) { return x; } template <> -inline signed char SwapBytes(signed char x) { return x; } -template <> inline uint16_t SwapBytes(uint16_t x) { return V8_TYPED_ARRAY_BSWAP16(x); } template <> inline int16_t SwapBytes(int16_t x) { return V8_TYPED_ARRAY_BSWAP16(x); }