| Index: src/frames.h
|
| diff --git a/src/frames.h b/src/frames.h
|
| index 36aa94c47187d822ab6100de055abdbcf9ed0a25..b98f732f7d8ddbc8b82576e2031623311ffa0769 100644
|
| --- a/src/frames.h
|
| +++ b/src/frames.h
|
| @@ -329,6 +329,7 @@ class BuiltinExitFrameConstants : public CommonFrameConstants {
|
| public:
|
| static const int kNewTargetOffset = kCallerPCOffset + 1 * kPointerSize;
|
| static const int kTargetOffset = kNewTargetOffset + 1 * kPointerSize;
|
| + static const int kArgcOffset = kTargetOffset + 1 * kPointerSize;
|
| };
|
|
|
| class InterpreterFrameConstants : public AllStatic {
|
| @@ -664,13 +665,18 @@ class BuiltinExitFrame : public ExitFrame {
|
| return static_cast<BuiltinExitFrame*>(frame);
|
| }
|
|
|
| - virtual JSFunction* function() const;
|
| + JSFunction* function() const;
|
| + Object* receiver() const;
|
| +
|
| + bool IsConstructor() const;
|
|
|
| protected:
|
| inline explicit BuiltinExitFrame(StackFrameIteratorBase* iterator);
|
|
|
| private:
|
| - inline Object* function_slot_object() const;
|
| + inline Object* target_slot_object() const;
|
| + inline Object* new_target_slot_object() const;
|
| + inline Object* receiver_slot_object() const;
|
|
|
| friend class StackFrameIteratorBase;
|
| };
|
|
|