Index: src/objects.h |
=================================================================== |
--- src/objects.h (revision 310) |
+++ src/objects.h (working copy) |
@@ -2464,6 +2464,10 @@ |
inline int formal_parameter_count(); |
inline void set_formal_parameter_count(int value); |
+ // Set the formal parameter count so the function code will be |
+ // called without using argument adaptor frames. |
+ inline void DontAdaptArguments(); |
+ |
// [expected_nof_properties]: Expected number of properties for the function. |
inline int expected_nof_properties(); |
inline void set_expected_nof_properties(int value); |
@@ -2533,6 +2537,9 @@ |
// Casting. |
static inline SharedFunctionInfo* cast(Object* obj); |
+ // Constants. |
+ static const int kDontAdaptArgumentsSentinel = -1; |
+ |
// Layout description. |
static const int kNameOffset = HeapObject::kSize; |
static const int kCodeOffset = kNameOffset + kPointerSize; |