VC gets confused by the VM:: namespace prefix here, but it turns
out that it's not necessary in the first place.
Change-Id: I626d0d4e1d64e64d28783045a4d8bf320a060aeb
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
return Value::fromObject(f);
}
-ScriptFunction::ScriptFunction(ExecutionContext *scope, VM::Function *function)
+ScriptFunction::ScriptFunction(ExecutionContext *scope, Function *function)
: FunctionObject(scope)
, function(function)
{
{
}
-Value ScriptFunction::call(VM::ExecutionContext *ctx)
+Value ScriptFunction::call(ExecutionContext *ctx)
{
assert(function->code);
return function->code(ctx, function->codeData);