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
This commit is contained in:
parent
2ca2d9ee0f
commit
64d3a1b48e
3 changed files with 20 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue