Revision: 14623
Author:   [email protected]
Date:     Fri May 10 06:50:10 2013
Log:      Fix bogus arguments length check in StringLocaleCompare.

[email protected]
TEST=test262/15.5.4.9_3

Review URL: https://codereview.chromium.org/14972015
http://code.google.com/p/v8/source/detail?r=14623

Modified:
 /branches/bleeding_edge/src/string.js
 /branches/bleeding_edge/test/test262/test262.status

=======================================
--- /branches/bleeding_edge/src/string.js       Thu Apr 11 05:15:25 2013
+++ /branches/bleeding_edge/src/string.js       Fri May 10 06:50:10 2013
@@ -170,7 +170,6 @@
     throw MakeTypeError("called_on_null_or_undefined",
                         ["String.prototype.localeCompare"]);
   }
-  if (%_ArgumentsLength() === 0) return 0;
   return %StringLocaleCompare(TO_STRING_INLINE(this),
                               TO_STRING_INLINE(other));
 }
=======================================
--- /branches/bleeding_edge/test/test262/test262.status Fri May 10 06:00:43 2013 +++ /branches/bleeding_edge/test/test262/test262.status Fri May 10 06:50:10 2013
@@ -41,10 +41,6 @@
 # V8 Bug: http://code.google.com/p/v8/issues/detail?id=2413
 15.5.4.9_CE: FAIL

-# Missing 'that' parameter should be treated as an implicit 'undefined' when
-# String.prototype.localeCompare is called.
-15.5.4.9_3: FAIL
-
 ##################### DELIBERATE INCOMPATIBILITIES #####################

 # This tests precision of Math functions.  The implementation for those

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to