aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/dist.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-03-30 19:54:23 +0200
committerSverker Eriksson <[email protected]>2015-03-30 19:54:23 +0200
commite4da94bee94bdd7e0dbb2e5021ab4cc5f89f8256 (patch)
tree97641dc7464203d0cd7359b6ec467f669dc6b481 /erts/emulator/beam/dist.h
parentbe89d435fbde795bcdc62b99529c5f77d42c6b62 (diff)
downloadotp-e4da94bee94bdd7e0dbb2e5021ab4cc5f89f8256.tar.gz
otp-e4da94bee94bdd7e0dbb2e5021ab4cc5f89f8256.tar.bz2
otp-e4da94bee94bdd7e0dbb2e5021ab4cc5f89f8256.zip
erts: Refactor encode_size_struct_int
to handle the "start of list" case in one place and not seven. Note that this commit reverts (47d6fd3ccf35) back to using WSTACK and pushing raw pointers. We disable GC while yielding, so this should not be a problem.
Diffstat (limited to 'erts/emulator/beam/dist.h')
-rw-r--r--erts/emulator/beam/dist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/dist.h b/erts/emulator/beam/dist.h
index 2a2ba0c83f..cd2cc0ef4a 100644
--- a/erts/emulator/beam/dist.h
+++ b/erts/emulator/beam/dist.h
@@ -282,7 +282,7 @@ typedef struct TTBSizeContext_ {
int level;
Uint result;
Eterm obj;
- ErtsEStack estack;
+ ErtsWStack wstack;
} TTBSizeContext;
typedef struct TTBEncodeContext_ {