Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: msnyder@sonic.net
To: gdb-patches@sourceware.org
Subject: [patch] jv-lang.c, dead code
Date: Sun, 05 Aug 2007 04:09:00 -0000	[thread overview]
Message-ID: <21135.12.7.175.2.1186286956.squirrel@webmail.sonic.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 25 bytes --]

noside is tested twice.


[-- Attachment #2: 12.txt --]
[-- Type: text/plain, Size: 697 bytes --]

2007-08-04  Michael Snyder  <msnyder@access-company.com>

	* jv-lang.c (evaluate_subexp_java): Dead code.

Index: jv-lang.c
===================================================================
RCS file: /cvs/src/src/gdb/jv-lang.c,v
retrieving revision 1.48
diff -p -r1.48 jv-lang.c
*** jv-lang.c	4 Aug 2007 02:50:16 -0000	1.48
--- jv-lang.c	5 Aug 2007 04:06:23 -0000
*************** evaluate_subexp_java (struct type *expec
*** 857,864 ****
  	  type = type_from_class (java_class_from_object (arg1));
  	  arg1 = value_cast (lookup_pointer_type (type), arg1);
  	}
-       if (noside == EVAL_SKIP)
- 	goto nosideret;
        return value_ind (arg1);
  
      case BINOP_SUBSCRIPT:
--- 857,862 ----

             reply	other threads:[~2007-08-05  4:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-05  4:09 msnyder [this message]
2007-08-06 22:41 ` Jim Blandy
2007-08-08 18:48   ` msnyder
2007-08-13 23:13   ` msnyder
2007-08-14 16:53     ` Jim Blandy

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=21135.12.7.175.2.1186286956.squirrel@webmail.sonic.net \
    --to=msnyder@sonic.net \
    --cc=gdb-patches@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