[PATCH] Allow `gcc_jit_type_get_size` to work with pointers

2024-03-28 Thread Guillaume Gomez
Hi, Here's a little fix to allow the `gcc_jit_type_get_size` function to work on pointer types as well. Cordially. From 21e6e2d5ea897fc74d0e3194973093c58157e6fa Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Tue, 26 Mar 2024 17:56:36 +0100 Subject: [PATCH] [PATH]

Re: [PATCH] Allow `gcc_jit_type_get_size` to work with pointers

2024-03-29 Thread Guillaume Gomez
I can push it. Thanks for the (very quick) review! Le ven. 29 mars 2024 à 18:48, David Malcolm a écrit : > > On Thu, 2024-03-28 at 23:47 +0100, Guillaume Gomez wrote: > > Hi, > > > > Here's a little fix to allow the `gcc_jit_type_get_size` function to >

Re: [PATCH] Allow `gcc_jit_type_get_size` to work with pointers

2024-03-29 Thread Guillaume Gomez
Pushed as commit 4c18ace1cb69a31af4ac719850a66de79ed12e93. Le ven. 29 mars 2024 à 18:50, Guillaume Gomez a écrit : > > I can push it. Thanks for the (very quick) review! > > Le ven. 29 mars 2024 à 18:48, David Malcolm a écrit : > > > > On Thu, 2024-03-28 at 23:47 +010

[PATCH] Add rvalue::get_name method (and its C equivalent)

2024-04-19 Thread Guillaume Gomez
Hi, I just encountered the need to retrieve the name of an `rvalue` (if there is one) while working on the Rust GCC backend. This patch adds a getter to retrieve the information. Cordially. From d2ddeec950f23533e5e18bc0c10c4b49eef3cda3 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat

Re: [PATCH] Add rvalue::get_name method (and its C equivalent)

2024-04-22 Thread Guillaume Gomez
quate modifications to the inheriting classes. Good catch, thanks! Updated the patch and attached the new version to this email. Cordially. Le lun. 22 avr. 2024 à 11:51, Arthur Cohen a écrit : > > Hey Guillaume :) > > On 4/20/24 01:05, Guillaume Gomez wrote: > > Hi, > > > >

Re: [PATCH] Add rvalue::get_name method (and its C equivalent)

2024-04-22 Thread Guillaume Gomez
... I most definitely forgot. Thanks! ^^' Le lun. 22 avr. 2024 à 15:19, Antoni Boucher a écrit : > I believe you forgot to regenerate the ChangeLog. > > Le 2024-04-22 à 09 h 16, Guillaume Gomez a écrit : > > Good point! > > > > New patch attached. > > &g

Re: [PATCH] Add rvalue::get_name method (and its C equivalent)

2024-04-22 Thread Guillaume Gomez
Good point! New patch attached. Le lun. 22 avr. 2024 à 15:13, Antoni Boucher a écrit : > > Please move the function to be on lvalue since there are no rvalue types > that are not lvalues that have a name. > > Le 2024-04-22 à 09 h 04, Guillaume Gomez a écrit : > > Hey Arthur

Re: [PATCH] Add rvalue::get_name method (and its C equivalent)

2024-04-22 Thread Guillaume Gomez
RETURN_IF_FAIL (lvalue->is_global () || lvalue->is_local (), > NULL, > NULL, > "lvalue should be a variable"); > > > Le 2024-04-22 à 09 h 16, Guillaume Gomez a écrit : > > Good point! > > >