From 64142c4cb865e8cd7f34e3b1c6702722d022f808 Mon Sep 17 00:00:00 2001 From: losfair Date: Thu, 28 Feb 2019 23:22:21 +0800 Subject: [PATCH] Reserve R15. --- lib/dynasm-backend/src/codegen_x64.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dynasm-backend/src/codegen_x64.rs b/lib/dynasm-backend/src/codegen_x64.rs index 6742b64f0..5a1f122e5 100644 --- a/lib/dynasm-backend/src/codegen_x64.rs +++ b/lib/dynasm-backend/src/codegen_x64.rs @@ -99,7 +99,7 @@ impl Register { 9 => R12, 10 => R13, 11 => R14, - 12 => R15, + // 12 => R15, // R15 is reserved for memory base pointer. _ => unreachable!(), } }