Revision: 10967
Author:   [email protected]
Date:     Thu Mar  8 05:30:10 2012
Log:      Fix syntactical issue in r10965.

[email protected]
TEST=mjsunit/object-is

Review URL: https://chromiumcodereview.appspot.com/9641015
http://code.google.com/p/v8/source/detail?r=10967

Modified:
 /branches/bleeding_edge/src/v8natives.js

=======================================
--- /branches/bleeding_edge/src/v8natives.js    Thu Mar  8 04:49:24 2012
+++ /branches/bleeding_edge/src/v8natives.js    Thu Mar  8 05:30:10 2012
@@ -1261,7 +1261,7 @@
 // Harmony egal.
 function ObjectIs(obj1, obj2) {
   if (obj1 === obj2) {
-    return (obj1 !== 0) || (1 / obj1 === 1 / obj2);
+    return (obj1 !== 0) || ((1 / obj1) === (1 / obj2));
   } else {
     return (obj1 !== obj1) && (obj2 !== obj2);
   }

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to