SuperConstructor call sequence.

git-svn-id: svn://10.0.0.236/trunk@142196 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
2003-05-08 07:07:55 +00:00
parent 832cb868ca
commit 8db2da07db
8 changed files with 54 additions and 27 deletions

View File

@@ -549,7 +549,7 @@ static int32 sort_compare(js2val *a, js2val *b, CompareArgs *arg)
js2val argv[2];
argv[0] = av;
argv[1] = bv;
js2val v = meta->invokeFunction(ca->target, JS2VAL_NULL, argv, 2);
js2val v = meta->invokeFunction(ca->target, JS2VAL_NULL, argv, 2, NULL);
float64 f = meta->toFloat64(v);
if (JSDOUBLE_IS_NaN(f) || (f == 0))
result = 0;