| Index: test/mjsunit/regress/regress-593299.js
|
| diff --git a/test/mjsunit/regress/regress-572589.js b/test/mjsunit/regress/regress-593299.js
|
| similarity index 50%
|
| copy from test/mjsunit/regress/regress-572589.js
|
| copy to test/mjsunit/regress/regress-593299.js
|
| index 1fd755ad1e8d928c0f6f7cab00d274a4c40e5368..255a033f5958edd5d1d7894f7852d09508997b3c 100644
|
| --- a/test/mjsunit/regress/regress-572589.js
|
| +++ b/test/mjsunit/regress/regress-593299.js
|
| @@ -1,11 +1,17 @@
|
| // Copyright 2016 the V8 project authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| -//
|
| -// Flags: --allow-natives-syntax --no-lazy
|
| +
|
| +// Flags: --harmony-tailcalls
|
|
|
| "use strict";
|
| -eval();
|
| -var f = ({x}) => { };
|
| -%OptimizeFunctionOnNextCall(f);
|
| +
|
| +function h(global) { return global.boom(); }
|
| +function g() { var r = h({}); return r; }
|
| +function f() {
|
| + var o = {};
|
| + o.__defineGetter__('prop1', g);
|
| + o.prop1;
|
| +}
|
| +
|
| assertThrows(f);
|
|
|