diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-04-05 21:38:09 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-04-06 23:34:35 +0200 |
commit | ab62ad883041221ceda6cf8f80bf4720b9e93998 (patch) | |
tree | 468cae3a1d5582874af9949e67eb45af7c6600d5 /src/v4/qv4functionobject.h | |
parent | f2971f053f2a24677fc2bcaf907435f4e949a54b (diff) |
Convert the remaining builtin methods to use the SimpleCallContext
Change-Id: Ib01bd0c15578b93829abd6fcf8df22cac12daf14
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/v4/qv4functionobject.h')
-rw-r--r-- | src/v4/qv4functionobject.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/v4/qv4functionobject.h b/src/v4/qv4functionobject.h index e3533d67d7..c20eb69ee8 100644 --- a/src/v4/qv4functionobject.h +++ b/src/v4/qv4functionobject.h @@ -261,18 +261,6 @@ protected: static const ManagedVTable static_vtbl; }; -struct BuiltinFunction: FunctionObject { - Value (*code)(ExecutionContext *parentContext, Value thisObject, Value *args, int argc); - - BuiltinFunction(ExecutionContext *scope, String *name, Value (*code)(ExecutionContext *, Value, Value *, int)); - - static Value construct(Managed *, ExecutionContext *context, Value *args, int argc); - static Value call(Managed *that, ExecutionContext *, const Value &, Value *, int); - -protected: - static const ManagedVTable static_vtbl; -}; - struct ScriptFunction: FunctionObject { ScriptFunction(ExecutionContext *scope, VM::Function *function); |