From b0cce6daecf04d71c50952197c2a7d69dcd324da Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 2 Jul 2018 15:43:15 -0700 Subject: [PATCH] Update the documentation for the new `adjust_sp_*` instruction names. `adjust_sp_imm` has been split into `adjust_sp_up_imm` and `adjust_sp_down_imm`, and `adjust_sp_down` has been added. --- cranelift/docs/langref.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cranelift/docs/langref.rst b/cranelift/docs/langref.rst index 4197bd5a3d..776c61d75b 100644 --- a/cranelift/docs/langref.rst +++ b/cranelift/docs/langref.rst @@ -999,7 +999,9 @@ Special register operations The prologue and epilogue of a function needs to manipulate special registers like the stack pointer and the frame pointer. These instructions should not be used in regular code. -.. autoinst:: adjust_sp_imm +.. autoinst:: adjust_sp_down +.. autoinst:: adjust_sp_up_imm +.. autoinst:: adjust_sp_down_imm .. autoinst:: ifcmp_sp .. autoinst:: copy_special