| Index: test/mjsunit/samevalue.js
|
| diff --git a/test/mjsunit/samevalue.js b/test/mjsunit/samevalue.js
|
| index 038fd68eb9c09673c9d56174be2d3460bac259d9..356e888016955507fbcd3bbc2cd9336592d1a1b4 100644
|
| --- a/test/mjsunit/samevalue.js
|
| +++ b/test/mjsunit/samevalue.js
|
| @@ -26,14 +26,14 @@
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
| -// Flags: --expose-natives-as natives
|
| +// Flags: --expose-natives-as natives --allow-natives-syntax
|
| // Test the SameValue and SameValueZero internal methods.
|
|
|
| var obj1 = {x: 10, y: 11, z: "test"};
|
| var obj2 = {x: 10, y: 11, z: "test"};
|
|
|
| var sameValue = Object.is;
|
| -var sameValueZero = natives.ImportNow("SameValueZero");
|
| +var sameValueZero = function(x, y) { return %SameValueZero(x, y); }
|
|
|
| // Calls SameValue and SameValueZero and checks that their results match.
|
| function sameValueBoth(a, b) {
|
|
|