Commit 74436afa by Tom Tromey Committed by Tom Tromey

* interpret.cc (PC_REGISTER_ASM): Removed.

From-SVN: r31510
parent 0d3ffb5a
2000-01-19 Tom Tromey <tromey@cygnus.com> 2000-01-19 Tom Tromey <tromey@cygnus.com>
* interpret.cc (PC_REGISTER_ASM): Removed.
* java/lang/natThrowable.cc: Don't use `#pragma implementation'. * java/lang/natThrowable.cc: Don't use `#pragma implementation'.
From Bryce McKinlay. From Bryce McKinlay.
......
// interpret.cc - Code for the interpreter // 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. This file is part of libgcj.
...@@ -403,19 +403,13 @@ gnu::gcj::runtime::MethodInvocation::continue1 (gnu::gcj::RawData *meth, ...@@ -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) void _Jv_InterpMethod::continue1 (_Jv_InterpMethodInvocation *inv)
{ {
using namespace java::lang::reflect; using namespace java::lang::reflect;
register _Jv_word *sp = inv->sp; register _Jv_word *sp = inv->sp;
register unsigned char *pc PC_REGISTER_ASM = inv->pc; register unsigned char *pc = inv->pc;
_Jv_word *locals = inv->local_base (); _Jv_word *locals = inv->local_base ();
_Jv_word *pool_data = defining_class->constants.data; _Jv_word *pool_data = defining_class->constants.data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment