projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libgo: Update to weekly.2012-03-04 release.
[gcc.git]
/
libitm
/
beginend.cc
diff --git
a/libitm/beginend.cc
b/libitm/beginend.cc
index 08c2174ea6765369aeec52daf8c8236ab850ef4a..e6a84de13e239706df7d1d3e2f5a169c7c6fcd1c 100644
(file)
--- a/
libitm/beginend.cc
+++ b/
libitm/beginend.cc
@@
-233,16
+233,6
@@
GTM::gtm_thread::begin_transaction (uint32_t prop, const gtm_jmpbuf *jb)
{
// Outermost transaction
disp = tx->decide_begin_dispatch (prop);
{
// Outermost transaction
disp = tx->decide_begin_dispatch (prop);
- if (disp == dispatch_serialirr() || disp == dispatch_serial())
- {
- tx->state = STATE_SERIAL;
- if (disp == dispatch_serialirr())
- tx->state |= STATE_IRREVOCABLE;
- serial_lock.write_lock ();
- }
- else
- serial_lock.read_lock (tx);
-
set_abi_disp (disp);
}
set_abi_disp (disp);
}