From 2c35ae610b5975385d7b0d1058668c4fcf84c906 Mon Sep 17 00:00:00 2001 From: Luke Wagner Date: Thu, 13 Feb 2014 08:04:46 -0600 Subject: [PATCH] Bug 971845 - Remove dead JSContext methods (r=sfink) --- js/src/jscntxt.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/js/src/jscntxt.h b/js/src/jscntxt.h index 1dda1b3d572..801fb26e7db 100644 --- a/js/src/jscntxt.h +++ b/js/src/jscntxt.h @@ -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; }