summaryrefslogtreecommitdiff
path: root/libjava/verify.cc
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-12-04 06:37:53 +0000
committerTom Tromey <tromey@gcc.gnu.org>2001-12-04 06:37:53 +0000
commit64d3a1b48e4a3b46bfdfcd44b9d141deb0bf3b87 (patch)
tree032cf042fe4b123003d1e37679a4281f05c4c8d8 /libjava/verify.cc
parent2ca2d9ee0f4845d32453142ed3466dd7116906c7 (diff)
downloadgcc-64d3a1b48e4a3b46bfdfcd44b9d141deb0bf3b87.tar.gz
defineclass.cc (handleMethodsEnd): Invoke verifier here...
* defineclass.cc (handleMethodsEnd): Invoke verifier here... (handleCodeAttribute): ... not here. * verify.cc (_Jv_BytecodeVerifier::state::state): Use `copy', not structure assignment. From-SVN: r47591
Diffstat (limited to 'libjava/verify.cc')
-rw-r--r--libjava/verify.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/verify.cc b/libjava/verify.cc
index 3b042e9963f..d4017eb7765 100644
--- a/libjava/verify.cc
+++ b/libjava/verify.cc
@@ -697,12 +697,12 @@ private:
subroutine = 0;
}
- state (const state *copy, int max_stack, int max_locals)
+ state (const state *orig, int max_stack, int max_locals)
{
stack = new type[max_stack];
locals = new type[max_locals];
local_changed = (bool *) _Jv_Malloc (sizeof (bool) * max_locals);
- *this = *copy;
+ copy (orig, max_stack, max_locals);
next = INVALID;
}