summaryrefslogtreecommitdiffstats
path: root/libjava
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2006-07-14 00:52:18 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2006-07-14 00:52:18 +0000
commiteaa7be67067fd050845c3e65d825cf976f3e4d6d (patch)
tree82a8a55791c6d8359a445bc3962da577f20f8fca /libjava
parentb50e1de293fafefea7df03036d2e9bf9b08547d7 (diff)
downloadppe42-gcc-eaa7be67067fd050845c3e65d825cf976f3e4d6d.tar.gz
ppe42-gcc-eaa7be67067fd050845c3e65d825cf976f3e4d6d.zip
2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
* interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115431 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-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;
OpenPOWER on IntegriCloud