From fa8503ffb0ab910eef28ee973abb30ecab9ef114 Mon Sep 17 00:00:00 2001 From: Davide Bettio Date: Tue, 14 Aug 2018 16:51:19 +0200 Subject: 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(-) (limited to 'lib/compiler') 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 -- cgit v1.2.3