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
This commit is contained in:
		| @@ -323,7 +323,6 @@ void Task::invokeExport(const v8::FunctionCallbackInfo<v8::Value>& args) { | ||||
| 	} | ||||
|  | ||||
| 	v8::Local<v8::Array> 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]); | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user