void JHandlerInfo::Throw(JObject& ret) { IOTJS_ASSERT(_thrown == false); ret.Ref(); *_ret_val_p = ret.raw_value(); _thrown = true; }
void JHandlerInfo::Return(JObject& ret) { ret.Ref(); *_ret_val_p = ret.raw_value(); }