Bug 866051 - Make CallArgs a stack class; r=Waldo

This commit is contained in:
Ms2ger 2013-05-05 09:03:16 +02:00
parent d41f270aff
commit a60820e813
2 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ namespace JS {
* public interface are meant to be used by embedders! See inline comments to
* for details.
*/
class CallReceiver
class MOZ_STACK_CLASS CallReceiver
{
protected:
#ifdef DEBUG
@ -233,7 +233,7 @@ CallReceiverFromVp(Value *vp)
* public interface are meant to be used by embedders! See inline comments to
* for details.
*/
class CallArgs : public CallReceiver
class MOZ_STACK_CLASS CallArgs : public CallReceiver
{
protected:
unsigned argc_;

View File

@ -170,7 +170,7 @@ namespace ion {
* InvokeArgsGuard can be pushed long before and popped long after the actual
* call, during which time many stack-observing things can happen).
*/
class CallArgsList : public JS::CallArgs
class MOZ_STACK_CLASS CallArgsList : public JS::CallArgs
{
friend class StackSegment;
CallArgsList *prev_;