Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/jit-test/tests/auto-regress/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 843 B image not shown  

Quelle  bug1765249.js   Sprache: JAVA

 
  // |jit-test| --fast-warmup; --no-threads

function main() {
  // Disable Warp compilation, so we don't inline |f|.
  with ({}) {}

  let begin = 0;
  for (let i = 1; i < 30; i++) {
    f(begin);
    begin = undefined;
  }
}
main();

function g(i) {
  return i < 3;
}

function f(begin) {
  // Loop body is only reachable on the first invocation.
  for (let i = begin; i < 5; i++) {
    // |arguments| with out-of-bounds access. This adds a guard on the prototype
    // of the arguments object.
    arguments[100];

    // Loop with a call expression. This ensures we emit bail instructions for
    // unreachable code after the first invocation.
    for (let j = 0; g(j); j++) {}

    // Change the prototype of the arguments object. This will cause a failure
    // on the prototype guard added above.
    arguments.__proto__ = {};
  }
}

Messung V0.5
C=93 H=92 G=92

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.