aboutsummaryrefslogtreecommitdiffstats
path: root/qv4ecmaobjects_p.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2012-05-14 17:12:25 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2012-05-14 17:12:25 +0200
commit4d77fb3a9baa15fe407e8e241c917a06f836a961 (patch)
tree963915a8027d0780b07d5f0510c03453a8a18f1c /qv4ecmaobjects_p.h
parenta5109fad15b0d15fcf29e8119df04eb7dbd822bd (diff)
Introduce the ExecutionEngine.
Diffstat (limited to 'qv4ecmaobjects_p.h')
-rw-r--r--qv4ecmaobjects_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/qv4ecmaobjects_p.h b/qv4ecmaobjects_p.h
index 16d5086fcd..4d8cb1d7b1 100644
--- a/qv4ecmaobjects_p.h
+++ b/qv4ecmaobjects_p.h
@@ -8,6 +8,8 @@ namespace VM {
struct ObjectCtor: FunctionObject
{
+ static Value create(ExecutionEngine *engine);
+
ObjectCtor(Context *scope);
virtual void construct(Context *ctx);
@@ -21,6 +23,8 @@ struct ObjectPrototype: Object
struct StringCtor: FunctionObject
{
+ static Value create(ExecutionEngine *engine);
+
StringCtor(Context *scope);
virtual void construct(Context *ctx);
@@ -58,6 +62,8 @@ protected:
struct NumberCtor: FunctionObject
{
+ static Value create(ExecutionEngine *engine);
+
NumberCtor(Context *scope);
virtual void construct(Context *ctx);