Fix syntactical issue in r10965.
R=rossberg@chromium.org TEST=mjsunit/object-is Review URL: https://chromiumcodereview.appspot.com/9641015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10967 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
448b620dad
commit
7d20d0b1d8
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user