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

Quelle  bug1700616.js   Sprache: JAVA

 
function dummy() { with ({}) {}}

function foo() {
    var a = 0;
    var b = 1;
    var c = 2;
    var d = 3;

    // This call will run before we enter jitcode and won't have IC
    // data, so branch pruning will remove the path from the entry
    // block to the OSR preheader.
    dummy();

    // We will OSR in this loop. Because there's no path from the
    // function entry to the loop, the only information we have
    // about a, b, c, and d is that they come from the OSR block.
    for (var i = 0; i < 1000; i++) {

        // Create a bunch of phis that only depend on OsrValues.
        // These phis will be specialized to MIRType::Value.
        a = i % 2 ? b : c;
        b = i % 3 ? c : d;
        c = i % 4 ? d : a;
        d = i % 5 ? a : b;

        // This phi will be optimistically specialized to
        // MIRType::String and trigger a bailout.
        dummy(i % 6 ? d : "");
    }
    return a;
}
foo();

Messung V0.5
C=94 H=62 G=79

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet)  ¤

*© 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.