From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id 2CD723857C6F; Tue, 25 Aug 2020 19:58:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2CD723857C6F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1598385488; bh=WUH4i9YTrhCWgun4z3bimUE7JXZzbDOoxAPKpbketeg=; h=From:To:Subject:Date:From; b=qsjKJow9BzwyYb2LcrhzyTB6QRJLMqKcTax+Ba0R4avxYdpeUNkCT6uwg6Fq7DspT DFNKkK3I+YtFqCwdcCU+nTGYrm2mWzFyZ/KEmfiOZyGyTUUbz/T4w1WiC0OvQenB+P EXABbCBuPFYdm4a3tpfrAkaA4P4/Uhg+zvcrsEOo= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/c++-coroutines] libgccjit: Update comments for gcc_jit_context_new_rvalue_from* functions X-Act-Checkin: gcc X-Git-Author: Andrea Corallo X-Git-Refname: refs/heads/devel/c++-coroutines X-Git-Oldrev: 3eeede6de7f6021ad726f034401872f6d58b343d X-Git-Newrev: fc34d04b075244e2ff4ca66079e2128c0cde026c Message-Id: <20200825195808.2CD723857C6F@sourceware.org> Date: Tue, 25 Aug 2020 19:58:08 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 19:58:08 -0000 https://gcc.gnu.org/g:fc34d04b075244e2ff4ca66079e2128c0cde026c commit fc34d04b075244e2ff4ca66079e2128c0cde026c Author: Andrea Corallo Date: Thu Aug 6 10:25:40 2020 +0200 libgccjit: Update comments for gcc_jit_context_new_rvalue_from* functions gcc/jit/ChangeLog 2020-08-06 Andrea Corallo * libgccjit.c: (gcc_jit_context_new_rvalue_from_int) (gcc_jit_context_new_rvalue_from_long) (gcc_jit_context_new_rvalue_from_double) (gcc_jit_context_new_rvalue_from_ptr): Update function heading comments. Diff: --- gcc/jit/libgccjit.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/gcc/jit/libgccjit.c b/gcc/jit/libgccjit.c index 3d04f6db3af..50130fbbe00 100644 --- a/gcc/jit/libgccjit.c +++ b/gcc/jit/libgccjit.c @@ -1188,7 +1188,7 @@ gcc_jit_rvalue_get_type (gcc_jit_rvalue *rvalue) /* Public entrypoint. See description in libgccjit.h. After error-checking, the real work is done by the - gcc::jit::recording::context::new_rvalue_from_int method in + gcc::jit::recording::context::new_rvalue_from_const method in jit-recording.c. */ gcc_jit_rvalue * @@ -1204,7 +1204,11 @@ gcc_jit_context_new_rvalue_from_int (gcc_jit_context *ctxt, ->new_rvalue_from_const (numeric_type, value)); } -/* FIXME. */ +/* Public entrypoint. See description in libgccjit.h. + + After error-checking, the real work is done by the + gcc::jit::recording::context::new_rvalue_from_const method + in jit-recording.c. */ gcc_jit_rvalue * gcc_jit_context_new_rvalue_from_long (gcc_jit_context *ctxt, @@ -1256,7 +1260,7 @@ gcc_jit_context_one (gcc_jit_context *ctxt, /* Public entrypoint. See description in libgccjit.h. After error-checking, the real work is done by the - gcc::jit::recording::context::new_rvalue_from_double method in + gcc::jit::recording::context::new_rvalue_from_const method in jit-recording.c. */ gcc_jit_rvalue * @@ -1275,8 +1279,8 @@ gcc_jit_context_new_rvalue_from_double (gcc_jit_context *ctxt, /* Public entrypoint. See description in libgccjit.h. After error-checking, the real work is done by the - gcc::jit::recording::context::new_rvalue_from_ptr method in - jit-recording.c. */ + gcc::jit::recording::context::new_rvalue_from_const method + in jit-recording.c. */ gcc_jit_rvalue * gcc_jit_context_new_rvalue_from_ptr (gcc_jit_context *ctxt,