Reviewers: rossberg,

Message:
This is a quick fix to make the bots turn green again. I investigate to find out
what exactly goes wrong here.

Description:
Fix syntactical issue in r10965.

[email protected]
TEST=mjsunit/object-is


Please review this at https://chromiumcodereview.appspot.com/9641015/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/v8natives.js


Index: src/v8natives.js
diff --git a/src/v8natives.js b/src/v8natives.js
index f1e8084a53038dff8d8c33a888d2e1bf41311af4..76022f9843eec835e7f45e21e92932c509fde5f5 100644
--- a/src/v8natives.js
+++ b/src/v8natives.js
@@ -1261,7 +1261,7 @@ function ObjectIsExtensible(obj) {
 // 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