| Index: src/scopeinfo.h
|
| diff --git a/src/scopeinfo.h b/src/scopeinfo.h
|
| index 86c33f61ffaf3a1bd38bc8d38665a83ec0181c41..ff7201355fe3aab3544862b1fbbb650cb23d53d8 100644
|
| --- a/src/scopeinfo.h
|
| +++ b/src/scopeinfo.h
|
| @@ -117,6 +117,11 @@ class SerializedScopeInfo : public FixedArray {
|
| // Is this scope a strict mode scope?
|
| bool IsStrictMode();
|
|
|
| + // Does this scope have an arguments shadow?
|
| + bool HasArgumentsShadow() {
|
| + return StackSlotIndex(GetHeap()->arguments_shadow_symbol()) >= 0;
|
| + }
|
| +
|
| // Return the number of stack slots for code.
|
| int NumberOfStackSlots();
|
|
|
|
|