diff options
author | torvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-24 19:52:02 +0000 |
---|---|---|
committer | torvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-24 19:52:02 +0000 |
commit | f0de1163ef09e28e4b13f61214a8b88b10a9090b (patch) | |
tree | eb6dab1987f0c9c1f49fce76ba1dd1d8267e3277 /libitm/method-ml.cc | |
parent | 447002cc56e7eab79142c2e1cc48e06bd60a83e4 (diff) | |
download | linaro-gcc-f0de1163ef09e28e4b13f61214a8b88b10a9090b.tar.gz linaro-gcc-f0de1163ef09e28e4b13f61214a8b88b10a9090b.tar.bz2 linaro-gcc-f0de1163ef09e28e4b13f61214a8b88b10a9090b.zip |
Ask dispatch whether it requires serial mode.
* retry.cc (gtm_thread::decide_begin_dispatch): Ask dispatch whether
it requires serial mode instead of assuming that for certain
dispatchs.
* dispatch.h (abi_dispatch::requires_serial): New.
(abi_dispatch::abi_dispatch): Adapt.
* method-gl.cc (gl_wt_dispatch::gl_wt_dispatch): Adapt.
* method-ml.cc (ml_wt_dispatch::ml_wt_dispatch): Same.
* method-serial.cc (serialirr_dispatch::serialirr_dispatch,
serial_dispatch::serial_dispatch,
serialirr_onwrite_dispatch::serialirr_onwrite_dispatch): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192777 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/method-ml.cc')
-rw-r--r-- | libitm/method-ml.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libitm/method-ml.cc b/libitm/method-ml.cc index 88455e8f85e..80278f519ae 100644 --- a/libitm/method-ml.cc +++ b/libitm/method-ml.cc @@ -590,7 +590,7 @@ public: CREATE_DISPATCH_METHODS(virtual, ) CREATE_DISPATCH_METHODS_MEM() - ml_wt_dispatch() : abi_dispatch(false, true, false, false, &o_ml_mg) + ml_wt_dispatch() : abi_dispatch(false, true, false, false, 0, &o_ml_mg) { } }; |