Bug 971845 - Remove dead JSContext methods (r=sfink)

This commit is contained in:
Luke Wagner 2014-02-13 08:04:46 -06:00
parent cb244dcc84
commit 2c35ae610b

View File

@ -555,16 +555,6 @@ struct JSContext : public js::ExclusiveContext,
void enterGenerator(JSGenerator *gen);
void leaveGenerator(JSGenerator *gen);
void *onOutOfMemory(void *p, size_t nbytes) {
return runtime()->onOutOfMemory(p, nbytes, this);
}
void updateMallocCounter(size_t nbytes) {
runtime()->updateMallocCounter(zone(), nbytes);
}
void reportAllocationOverflow() {
js_ReportAllocationOverflow(this);
}
bool isExceptionPending() {
return throwing;
}