From ca1271ffbc7b166876a2540e4f27fefa14760d0e Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 23 Apr 2016 11:42:03 +0000 Subject: [PATCH] Stop passing 'this' in serialized function calls. There are currently no productive uses of it, and it causes excessive work exporting functions that are never called. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3214 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- src/Task.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Task.cpp b/src/Task.cpp index 32886e45..42d265d0 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -323,7 +323,6 @@ void Task::invokeExport(const v8::FunctionCallbackInfo& args) { } v8::Local array = v8::Array::New(args.GetIsolate(), args.Length() + 1); - array->Set(0, args.This()); for (int i = 0; i < args.Length(); ++i) { array->Set(i + 1, args[i]); }