[前][次][番号順一覧][スレッド一覧]

ruby-changes:64809

From: David <ko1@a...>
Date: Sat, 9 Jan 2021 22:37:50 +0900 (JST)
Subject: [ruby-changes:64809] 161a20df28 (master): gc fix typo for the timer instruction for ARM64.

https://git.ruby-lang.org/ruby.git/commit/?id=161a20df28

From 161a20df28dd09ff35a32a7e2b7ce6cab7079707 Mon Sep 17 00:00:00 2001
From: David CARLIER <devnexen@g...>
Date: Sat, 9 Jan 2021 11:38:54 +0000
Subject: gc fix typo for the timer instruction for ARM64.


diff --git a/gc.c b/gc.c
index fdb1a47..0dbee77 100644
--- a/gc.c
+++ b/gc.c
@@ -1150,7 +1150,7 @@ static __inline__ tick_t https://github.com/ruby/ruby/blob/trunk/gc.c#L1150
 tick(void)
 {
     unsigned long val;
-    __asm__ __volatile__ ("mrs %0, cntvct_el0", : "=r" (val));
+    __asm__ __volatile__ ("mrs %0, cntvct_el0" : "=r" (val));
     return val;
 }
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]