[pypy-commit] pypy default: variable p has been renamed to tstate
plan_rich
pypy.commits at gmail.com
Thu Mar 30 16:59:50 EDT 2017
Author: Richard Plangger <planrichi at gmail.com>
Branch:
Changeset: r90879:dc4691e34ae0
Date: 2017-03-30 16:59 -0400
http://bitbucket.org/pypy/pypy/changeset/dc4691e34ae0/
Log: variable p has been renamed to tstate
diff --git a/rpython/rlib/rvmprof/src/shared/vmprof_main_win32.h b/rpython/rlib/rvmprof/src/shared/vmprof_main_win32.h
--- a/rpython/rlib/rvmprof/src/shared/vmprof_main_win32.h
+++ b/rpython/rlib/rvmprof/src/shared/vmprof_main_win32.h
@@ -142,7 +142,7 @@
tstate = _RPython_ThreadLocals_Head(); // the first one is one behind head
tstate = _RPython_ThreadLocals_Enum(tstate);
while (tstate) {
- if (p->ready == 42) {
+ if (tstate->ready == 42) {
depth = vmprof_snapshot_thread(tstate->thread_ident, tstate, stack);
if (depth > 0) {
_write_all((char*)stack + offsetof(prof_stacktrace_s, marker),
More information about the pypy-commit
mailing list