diff options
author | Davide Bettio <[email protected]> | 2018-08-14 16:51:19 +0200 |
---|---|---|
committer | Davide Bettio <[email protected]> | 2018-08-14 16:51:19 +0200 |
commit | fa8503ffb0ab910eef28ee973abb30ecab9ef114 (patch) | |
tree | ca61ef4355cdb55c3f1012aee794e2138e1ac6ae | |
parent | edccc905d6d86f57ff1879b5c6c7068386e2fadb (diff) | |
download | otp-fa8503ffb0ab910eef28ee973abb30ecab9ef114.tar.gz otp-fa8503ffb0ab910eef28ee973abb30ecab9ef114.tar.bz2 otp-fa8503ffb0ab910eef28ee973abb30ecab9ef114.zip |
remove_message does not store any pointer to x0
remove_message just remove messages without writing to any register.
Compiler is already generating code like:
{get_tuple_element,{x,0},1,{x,0}}.
remove_message.
{jump,{f,6}}
That clearly uses x0 for other purposes.
-rwxr-xr-x | lib/compiler/src/genop.tab | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/compiler/src/genop.tab b/lib/compiler/src/genop.tab index 02dead9e92..f35ae09fe7 100755 --- a/lib/compiler/src/genop.tab +++ b/lib/compiler/src/genop.tab @@ -142,8 +142,7 @@ BEAM_FORMAT_NUMBER=0 20: send/0 ## @spec remove_message -## @doc Unlink the current message from the message queue and store a -## pointer to the message in x(0). Remove any timeout. +## @doc Unlink the current message from the message queue. Remove any timeout. 21: remove_message/0 ## @spec timeout |