libitm: Remove dead code.

* local_type_traits: Remove file.
	* libitm_i.h: Don't include it anymore.
	(sized_integral): Remove.

From-SVN: r232581
This commit is contained in:
Torvald Riegel 2016-01-19 19:49:14 +00:00 committed by Torvald Riegel
parent 33f4884259
commit f57fc96068
3 changed files with 6 additions and 1909 deletions

View File

@ -1,3 +1,9 @@
2016-01-19 Torvald Riegel <triegel@redhat.com>
* local_type_traits: Remove file.
* libitm_i.h: Don't include it anymore.
(sized_integral): Remove.
2016-01-16 Torvald Riegel <triegel@redhat.com>
* method-gl.cc (gl_wt_dispatch::trycommit): Ensure proxy privatization

View File

@ -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

File diff suppressed because it is too large Load Diff