| Index: src/frames.h
|
| ===================================================================
|
| --- src/frames.h (revision 7504)
|
| +++ src/frames.h (working copy)
|
| @@ -463,11 +463,8 @@
|
| inline void set_receiver(Object* value);
|
|
|
| // Access the parameters.
|
| - inline Address GetParameterSlot(int index) const;
|
| - inline Object* GetParameter(int index) const;
|
| - inline int ComputeParametersCount() const {
|
| - return GetNumberOfIncomingArguments();
|
| - }
|
| + Object* GetParameter(int index) const;
|
| + int ComputeParametersCount() const;
|
|
|
| // Check if this frame is a constructor frame invoked through 'new'.
|
| bool IsConstructor() const;
|
| @@ -505,8 +502,6 @@
|
|
|
| virtual Address GetCallerStackPointer() const;
|
|
|
| - virtual int GetNumberOfIncomingArguments() const;
|
| -
|
| // Garbage collection support. Iterates over incoming arguments,
|
| // receiver, and any callee-saved registers.
|
| void IterateArguments(ObjectVisitor* v) const;
|
| @@ -567,10 +562,6 @@
|
| explicit ArgumentsAdaptorFrame(StackFrameIterator* iterator)
|
| : JavaScriptFrame(iterator) { }
|
|
|
| - virtual int GetNumberOfIncomingArguments() const {
|
| - return Smi::cast(GetExpression(0))->value();
|
| - }
|
| -
|
| virtual Address GetCallerStackPointer() const;
|
|
|
| private:
|
|
|