| Index: test/mjsunit/compiler/simple-bailouts.js
|
| diff --git a/test/mjsunit/compiler/simple-bailouts.js b/test/mjsunit/compiler/simple-bailouts.js
|
| index af80b7f0564e38583b5e5c2689d6e1946632c48d..ef7a0f47bd9b45f3f0d911b65a104c568c27cb71 100644
|
| --- a/test/mjsunit/compiler/simple-bailouts.js
|
| +++ b/test/mjsunit/compiler/simple-bailouts.js
|
| @@ -25,8 +25,6 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -// Flags: --fast-compiler
|
| -
|
| function Test() {
|
| this.result = 0;
|
| this.x = 0;
|
| @@ -92,6 +90,14 @@ Test.prototype.test9 = function() {
|
| | a; // 1.1
|
| }
|
|
|
| +Test.prototype.test10 = function() {
|
| + this.z = (a >> b) | (c >> c);
|
| +}
|
| +
|
| +Test.prototype.test11 = function(x) {
|
| + this.z = x >> x;
|
| +}
|
| +
|
| var t = new Test();
|
|
|
| t.test0();
|
| @@ -125,3 +131,13 @@ t.test9();
|
| assertEquals(14, t.x);
|
| assertEquals(6, t.y);
|
| assertEquals(15, t.z);
|
| +
|
| +a = "2";
|
| +t.test11(a);
|
| +assertEquals(0, t.z);
|
| +
|
| +a = 4;
|
| +b = "1";
|
| +c = 2;
|
| +t.test10();
|
| +assertEquals(2, t.z);
|
|
|