diff options
| author | Ian Lance Taylor <iant@golang.org> | 2019-03-27 14:59:10 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2019-03-29 14:17:44 +0000 |
| commit | 70ea70ecfda68abbc5b3c7703dc671f75adde645 (patch) | |
| tree | ae90f022b5f557b1422ca0a7f8d621229ed6207a /src/runtime/race_amd64.s | |
| parent | 154e5abfcdb8ffe193d2af4c8ef590f4d9a27008 (diff) | |
| download | go-70ea70ecfda68abbc5b3c7703dc671f75adde645.tar.xz | |
runtime: rename p racectx field to raceprocctx
Both g and p had a racectx field, but they held different kinds of values.
The g field held ThreadState values while the p field held Processor values
(to use the names used in the C++ code in the compiler_rt support library).
Rename the p field to raceprocctx to reduce potential confusion.
Change-Id: Iefba0e259d240171e973054c452c3c15bf3f8f8f
Reviewed-on: https://go-review.googlesource.com/c/go/+/169960
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/race_amd64.s')
| -rw-r--r-- | src/runtime/race_amd64.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/race_amd64.s b/src/runtime/race_amd64.s index 2a65b0faee..4ed9533bfb 100644 --- a/src/runtime/race_amd64.s +++ b/src/runtime/race_amd64.s @@ -398,7 +398,7 @@ TEXT runtime·racecallbackthunk(SB), NOSPLIT, $56-8 MOVQ g(RARG0), RARG0 MOVQ g_m(RARG0), RARG0 MOVQ m_p(RARG0), RARG0 - MOVQ p_racectx(RARG0), RARG0 + MOVQ p_raceprocctx(RARG0), RARG0 MOVQ RARG0, (RARG1) RET |
