mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
parent
a424ab918b
commit
98c3887460
|
@ -263,7 +263,6 @@ VS_RUNTIME_PATS = [re.compile('vcomp.*\.dll'),
|
||||||
def cp_vs_runtime(x64):
|
def cp_vs_runtime(x64):
|
||||||
if x64:
|
if x64:
|
||||||
platform = "x64"
|
platform = "x64"
|
||||||
|
|
||||||
else:
|
else:
|
||||||
platform = "x86"
|
platform = "x86"
|
||||||
vcdir = os.environ['VCINSTALLDIR']
|
vcdir = os.environ['VCINSTALLDIR']
|
||||||
|
|
|
@ -2184,10 +2184,16 @@ namespace polynomial {
|
||||||
}
|
}
|
||||||
|
|
||||||
~som_buffer_vector() {
|
~som_buffer_vector() {
|
||||||
|
clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
void clear() {
|
||||||
|
reset();
|
||||||
unsigned sz = m_buffers.size();
|
unsigned sz = m_buffers.size();
|
||||||
for (unsigned i = 0; i < sz; i++) {
|
for (unsigned i = 0; i < sz; i++) {
|
||||||
dealloc(m_buffers[i]);
|
dealloc(m_buffers[i]);
|
||||||
}
|
}
|
||||||
|
m_buffers.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_owner(imp * owner) {
|
void set_owner(imp * owner) {
|
||||||
|
@ -2372,11 +2378,14 @@ namespace polynomial {
|
||||||
m_polynomials.reset();
|
m_polynomials.reset();
|
||||||
});
|
});
|
||||||
SASSERT(m_polynomials.empty());
|
SASSERT(m_polynomials.empty());
|
||||||
|
m_iccp_ZpX_buffers.clear();
|
||||||
m_monomial_manager->dec_ref();
|
m_monomial_manager->dec_ref();
|
||||||
}
|
}
|
||||||
|
|
||||||
void checkpoint() {
|
void checkpoint() {
|
||||||
if (!m_limit.inc()) {
|
if (!m_limit.inc()) {
|
||||||
|
m_som_buffer.reset();
|
||||||
|
m_som_buffer2.reset();
|
||||||
throw polynomial_exception(Z3_CANCELED_MSG);
|
throw polynomial_exception(Z3_CANCELED_MSG);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue