* interpret.cc (PC_REGISTER_ASM): Removed.

From-SVN: r31510
This commit is contained in:
Tom Tromey 2000-01-19 21:08:03 +00:00 committed by Tom Tromey
parent 0d3ffb5ae4
commit 74436afa42
2 changed files with 6 additions and 10 deletions

View 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.

View 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;