mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-13 15:34:01 +00:00
Bug 866051 - Make CallArgs a stack class; r=Waldo
This commit is contained in:
parent
d41f270aff
commit
a60820e813
@ -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_;
|
||||
|
@ -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_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user