Home | History | Annotate | Download | only in regress
      1 // Copyright 2014 the V8 project authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 // Flags: --allow-natives-syntax --stress-compaction
      6 
      7 %SetAllocationTimeout(100000, 100000);
      8 
      9 var x = {};
     10 x.a = 1;
     11 x.b = 2;
     12 x = {};
     13 
     14 var y = {};
     15 y.a = 1;
     16 
     17 %SetAllocationTimeout(100000, 0);
     18 
     19 for (var z in y) { }
     20