File 0383-remove_message-does-not-store-any-pointer-to-x0.patch of Package erlang

From fa8503ffb0ab910eef28ee973abb30ecab9ef114 Mon Sep 17 00:00:00 2001
From: Davide Bettio <davide@uninstall.it>
Date: Tue, 14 Aug 2018 16:51:19 +0200
Subject: [PATCH] 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.
---
 lib/compiler/src/genop.tab | 3 +--
 1 file changed, 1 insertion(+), 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
-- 
2.16.4