| Index: test/mjsunit/undetectable-compare.js
|
| diff --git a/test/mjsunit/undetectable-compare.js b/test/mjsunit/undetectable-compare.js
|
| index 2887f2f53bf240a9ff536d09422aee055ba29ff7..c78593439c6b3a21fc684151a43d150dda67add3 100644
|
| --- a/test/mjsunit/undetectable-compare.js
|
| +++ b/test/mjsunit/undetectable-compare.js
|
| @@ -92,15 +92,16 @@ for (var i = 0; i < 5; i++) {
|
| }
|
|
|
|
|
| -assertTrue(undetectable == %GetUndetectable());
|
| +assertFalse(undetectable == %GetUndetectable());
|
| assertFalse(undetectable === %GetUndetectable());
|
|
|
|
|
| function test2(a, b) {
|
| - assertTrue(a == b);
|
| + return a == b;
|
| }
|
| -test2(1, 1);
|
| -test2(undetectable, undetectable);
|
| +test2(0, 1);
|
| +test2(undetectable, {});
|
| +%OptimizeFunctionOnNextCall(test2);
|
| for (var i = 0; i < 5; ++i) {
|
| - test2(undetectable, %GetUndetectable());
|
| + assertFalse(test2(undetectable, %GetUndetectable()));
|
| }
|
|
|