Index: test/mjsunit/regress/regress-336820.js |
diff --git a/test/mjsunit/regress/regress-336820.js b/test/mjsunit/regress/regress-336820.js |
index 9b466296043b858df75b7f1fe9f959b66abea969..f305626596e187a44e846caf379d101bb6d50749 100644 |
--- a/test/mjsunit/regress/regress-336820.js |
+++ b/test/mjsunit/regress/regress-336820.js |
@@ -25,6 +25,8 @@ |
// (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: --max-old-space-size=400 |
+ |
assertThrows((function() { |
s = "Hello World!\n"; |
while (true) { |