summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce McKinlay <mckinlay@redhat.com>2006-07-14 00:52:18 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2006-07-14 01:52:18 +0100
commitb369a1989c4227a69dc551ac7226ee3965ffe593 (patch)
tree82a8a55791c6d8359a445bc3962da577f20f8fca
parent11761b31da3355090f635ba87c1dc369f960fbfe (diff)
downloadgcc-b369a1989c4227a69dc551ac7226ee3965ffe593.tar.gz
interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.
2006-07-13 Bryce McKinlay <mckinlay@redhat.com> * interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv. From-SVN: r115431
-rw-r--r--libjava/ChangeLog4
-rw-r--r--libjava/interpret.cc1
2 files changed, 4 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 6452a729d88..d9c0f7a0375 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,9 @@
2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
+ * interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.
+
+2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
+
* interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment.
(_Jv_InterpMethod::run): SAVE_PC before executing any instruction
using resolve_pool_entry, as it can throw. Likewise for div/rem ops
diff --git a/libjava/interpret.cc b/libjava/interpret.cc
index b9abb01a873..68f798da54c 100644
--- a/libjava/interpret.cc
+++ b/libjava/interpret.cc
@@ -1847,7 +1847,6 @@ _Jv_InterpMethod::run (void *retp, ffi_raw *args, _Jv_InterpMethod *meth)
insn_fdiv:
{
- SAVE_PC();
jfloat value2 = POPF();
jfloat value1 = POPF();
jfloat res = value1 / value2;