function fillHeap() {
  var x = 1, tmp;
  for (var i = 0; i < 50000; ++i)
    tmp <<=  x / 3;
}
RegExp({ toString: fillHeap });