diff options
author | Sverker Eriksson <[email protected]> | 2018-09-27 12:21:55 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-10-03 19:00:53 +0200 |
commit | 3ed92c67b957df55762ab837a7e3d9c8d562083b (patch) | |
tree | ef74cdfadcf2615f7ca1db4f047b4a6270244b99 | |
parent | a875b2991bebe68cbb1ce1d0cb0b338fc3248cc9 (diff) | |
download | otp-3ed92c67b957df55762ab837a7e3d9c8d562083b.tar.gz otp-3ed92c67b957df55762ab837a7e3d9c8d562083b.tar.bz2 otp-3ed92c67b957df55762ab837a7e3d9c8d562083b.zip |
erts: Add some ERTS_RESTRICT pointers
-rw-r--r-- | erts/emulator/beam/erl_db_catree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/erts/emulator/beam/erl_db_catree.c b/erts/emulator/beam/erl_db_catree.c index 65ed7ab81d..7ce5d79acf 100644 --- a/erts/emulator/beam/erl_db_catree.c +++ b/erts/emulator/beam/erl_db_catree.c @@ -1441,12 +1441,12 @@ static void join_catree(DbTableCATree *tb, } static void split_catree(DbTableCATree *tb, - DbTableCATreeNode *parent, - DbTableCATreeNode *base) { + DbTableCATreeNode* ERTS_RESTRICT parent, + DbTableCATreeNode* ERTS_RESTRICT base) { TreeDbTerm *splitOutWriteBack; - DbTableCATreeNode *new_left; - DbTableCATreeNode *new_right; - DbTableCATreeNode *new_route; + DbTableCATreeNode* ERTS_RESTRICT new_left; + DbTableCATreeNode* ERTS_RESTRICT new_right; + DbTableCATreeNode* ERTS_RESTRICT new_route; if (less_than_two_elements(base->u.base.root)) { base->u.base.lock_statistics = 0; |