Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/jit-test/tests/self-test/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 938 B image not shown  

Quelle  baselineCompile.js

  Sprache: JAVA
 

// |jit-test| test-also=--fuzzing-safe
// Check that the help text for baselineCompile() is accurate.

if (typeof inJit == "function" && typeof baselineCompile == "function") {
    if (!inJit()) {

        var res = baselineCompile();  // compile the current script

        assertEq(inJit(), false,
                 "We have compiled this script to baseline jitcode, but shouldn't " +
                 "be running it yet, according to the help text for baselineCompile() " +
                 "in TestingFunctions.cpp. If you fail this assertion, nice work, and " +
                 "please update the help text!");

        for (var i=0; i<1; i++) {}  // exact boilerplate suggested by the help text

        assertEq(typeof res != "string" ? inJit() : truetrue,
                 "help text in TestingFunctions.cpp claims the above loop causes " +
                 "the interpreter to start running the new baseline jitcode");
    }
}

Messung V0.5 in Prozent
C=81 H=82 G=81

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.