From 5af96e2c7b73ebc627c6894727826a7576d31758 Mon Sep 17 00:00:00 2001 From: Leon Clarke Date: Thu, 3 Jun 2010 14:33:32 +0100 Subject: Merge webkit.org at r60469 : Initial merge by git. Change-Id: I66a0047aa2af802f66bb0c7f2a8b02247a596234 --- JavaScriptCore/runtime/ArgList.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'JavaScriptCore/runtime/ArgList.h') diff --git a/JavaScriptCore/runtime/ArgList.h b/JavaScriptCore/runtime/ArgList.h index 8e1fdbe..cd563a2 100644 --- a/JavaScriptCore/runtime/ArgList.h +++ b/JavaScriptCore/runtime/ArgList.h @@ -22,6 +22,7 @@ #ifndef ArgList_h #define ArgList_h +#include "CallFrame.h" #include "Register.h" #include #include @@ -187,6 +188,12 @@ namespace JSC { { } + ArgList(ExecState* exec) + : m_args(reinterpret_cast(&exec[exec->hostThisRegister() + 1])) + , m_argCount(exec->argumentCount()) + { + } + ArgList(JSValue* args, unsigned argCount) : m_args(args) , m_argCount(argCount) -- cgit v1.1