Fixed: Use new fast msgSend function for some foundation classes

This commit is contained in:
Martin Carlberg
2014-04-10 11:03:49 +02:00
parent 0f5b36e9c5
commit 0efb7e67c9
7 changed files with 37 additions and 29 deletions
+1 -1
View File
@@ -530,7 +530,7 @@ var sortArrayUsingJSDescriptors = function(a, d)
if (value1 === nil || value1 === cpNull)
o = value2 === nil || value2 === cpNull ? CPOrderedSame : CPOrderedAscending;
else
o = value2 === nil || value2 === cpNull ? CPOrderedDescending : objj_msgSend(value1, dd.s, value2);
o = value2 === nil || value2 === cpNull ? CPOrderedDescending : value1.isa.objj_msgSend1(value1, dd.s, value2);
if (o && !dd.a)
o = -o;