Bug 1140336: Remove init() method in VMFunction (and dubious assert); r=h4writer

This commit is contained in:
Benjamin Bouvier 2015-03-06 11:19:45 +01:00
parent afe27b5e3a
commit 0cc342bdc7

View File

@ -252,11 +252,6 @@ struct VMFunction
}
VMFunction(const VMFunction &o) {
init(o);
}
void init(const VMFunction &o) {
MOZ_ASSERT(!wrapped);
*this = o;
addToFunctions();
}