Пример #1
0
//--------------------------clone_shallow--------------------------------------
JVMState* JVMState::clone_shallow() const {
    JVMState* n = has_method() ? new JVMState(_method, _caller) : new JVMState(0);
    n->set_bci(_bci);
    n->set_locoff(_locoff);
    n->set_stkoff(_stkoff);
    n->set_monoff(_monoff);
    n->set_endoff(_endoff);
    n->set_sp(_sp);
    n->set_map(_map);
    return n;
}