diff options
author | torvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-19 19:49:14 +0000 |
---|---|---|
committer | torvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-19 19:49:14 +0000 |
commit | 2968df884ba655ffd5557eada28491d6637aefad (patch) | |
tree | b8e4a672877d16db06c57a1337c606d36e7ee240 /libitm/libitm_i.h | |
parent | 51120e849d2624898aae65cbb70a33aff9da7236 (diff) | |
download | gcc-2968df884ba655ffd5557eada28491d6637aefad.tar.gz |
libitm: Remove dead code.
* local_type_traits: Remove file.
* libitm_i.h: Don't include it anymore.
(sized_integral): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232581 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/libitm_i.h')
-rw-r--r-- | libitm/libitm_i.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libitm/libitm_i.h b/libitm/libitm_i.h index 751b4abaccc..ae88ff0eccc 100644 --- a/libitm/libitm_i.h +++ b/libitm/libitm_i.h @@ -36,7 +36,6 @@ #include <stdlib.h> #include <string.h> #include <unwind.h> -#include "local_type_traits" #include "local_atomic" /* Don't require libgcc_s.so for exceptions. */ @@ -49,13 +48,6 @@ namespace GTM HIDDEN { using namespace std; -// A helper template for accessing an unsigned integral of SIZE bytes. -template<size_t SIZE> struct sized_integral { }; -template<> struct sized_integral<1> { typedef uint8_t type; }; -template<> struct sized_integral<2> { typedef uint16_t type; }; -template<> struct sized_integral<4> { typedef uint32_t type; }; -template<> struct sized_integral<8> { typedef uint64_t type; }; - typedef unsigned int gtm_word __attribute__((mode (word))); // These values are given to GTM_restart_transaction and indicate the |