]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* interpret.cc (PC_REGISTER_ASM): Removed.
authorTom Tromey <tromey@cygnus.com>
Wed, 19 Jan 2000 21:08:03 +0000 (21:08 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 19 Jan 2000 21:08:03 +0000 (21:08 +0000)
From-SVN: r31510

libjava/ChangeLog
libjava/interpret.cc

index 65d1013553f8b7b64f3e99b716e9f467760e0f9e..6aec1d16a57f445f2378eeb0d05261799a4e0619 100644 (file)
@@ -1,5 +1,7 @@
 2000-01-19  Tom Tromey  <tromey@cygnus.com>
 
+       * interpret.cc (PC_REGISTER_ASM): Removed.
+
        * java/lang/natThrowable.cc: Don't use `#pragma implementation'.
        From Bryce McKinlay.
 
index bb379d49764961ddeafc1b40eb86ec8416bb20af..ecc5193fbeb1986ca7b718bde3ef4d9b863a9d9c 100644 (file)
@@ -1,6 +1,6 @@
 // interpret.cc - Code for the interpreter
 
-/* Copyright (C) 1999  Red Hat, Inc.
+/* Copyright (C) 1999, 2000  Red Hat, Inc.
 
    This file is part of libgcj.
 
@@ -403,19 +403,13 @@ gnu::gcj::runtime::MethodInvocation::continue1 (gnu::gcj::RawData *meth,
 */
 
 
-#ifdef __i386__
-#define PC_REGISTER_ASM  asm("%esi")
-#else
-#define PC_REGISTER_ASM
-#endif
-
 void _Jv_InterpMethod::continue1 (_Jv_InterpMethodInvocation *inv)
 {
   using namespace java::lang::reflect;
 
-  register _Jv_word      *sp                  = inv->sp;
-  register unsigned char *pc PC_REGISTER_ASM  = inv->pc;
-  _Jv_word               *locals              = inv->local_base ();
+  register _Jv_word      *sp     = inv->sp;
+  register unsigned char *pc     = inv->pc;
+  _Jv_word               *locals = inv->local_base ();
 
   _Jv_word *pool_data   = defining_class->constants.data;