public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
From: dsmith@sourceware.org
To: systemtap-cvs@sourceware.org
Subject: src ChangeLog translate.cxx translate.h
Date: Wed, 25 Apr 2007 14:21:00 -0000	[thread overview]
Message-ID: <20070425142143.22954.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/systemtap
Module name:	src
Changes by:	dsmith@sourceware.org	2007-04-25 15:21:43

Modified files:
	.              : ChangeLog translate.cxx translate.h 

Log message:
	2007-04-25  David Smith  <dsmith@redhat.com>
	
	PR 2339
	* translate.cxx: Renamed "qname" to "value" throughout, since
	there are times now when qname would refer to a constant value.
	(tmpvar::override): Added function to allow for overriding a
	temporary variable name with a string.
	(tmpvar::value): New function that returns either the overridden
	string or the temporary variable name.
	(c_unparser::c_expression): New function.
	(c_unparser_assignment::c_assignop): Speed up assignment when
	numeric or string constants are used.
	(c_tmpcounter::visit_block): Avoid empty structs inside the union
	of temporary variables.
	(c_tmpcounter_assignment::prepare_rvalue): New function.
	(c_tmpcounter_assignment::c_assignop): New function.
	(c_tmpcounter_assignment::visit_symbol): Update temporary
	declarations.
	(c_unparser_assignment::prepare_rvalue): Speed up use of rvalues
	by using numeric and string constants directly instead of copying
	them to temporaries first.
	(c_tmpcounter::load_map_indices): New function.
	(c_unparser::load_map_indices): Speed up use of numeric and string
	constants as map indices.
	(c_tmpcounter::visit_arrayindex): Updated temporary declarations.
	(c_tmpcounter_assignment::visit_arrayindex): Updated temporary
	declarations.
	* translate.h (class translator_output): Added tellp() and seekp()
	functions.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.607&r2=1.608
http://sourceware.org/cgi-bin/cvsweb.cgi/src/translate.cxx.diff?cvsroot=systemtap&r1=1.168&r2=1.169
http://sourceware.org/cgi-bin/cvsweb.cgi/src/translate.h.diff?cvsroot=systemtap&r1=1.8&r2=1.9


             reply	other threads:[~2007-04-25 14:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25 14:21 dsmith [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-10-02 21:41 fche
2006-02-25 21:05 fche
2005-08-24 17:37 fche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070425142143.22954.qmail@sourceware.org \
    --to=dsmith@sourceware.org \
    --cc=systemtap-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).