/js/src/jit-test/tests/jaeger/recompile/bug657288.js

http://github.com/zpao/v8monkey · JavaScript · 9 lines · 8 code · 0 blank · 1 comment · 1 complexity · 22f62411a02e4029bc8bbb227d5a841e MD5 · raw file

  1. // |jit-test| error: TypeError
  2. new DoWhileObject;
  3. function DoWhileObject(breakOut, breakIn, iterations, loops) {
  4. loops.prototype = new DoWhile;
  5. this.looping;
  6. }
  7. function DoWhile(object) {
  8. do {} while (object);
  9. }