[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with assert

From: Jose E. Marchesi
Subject: Problem with assert
Date: Sat, 28 Nov 2020 00:20:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

This fails:

var mcr_alu_insn_names =
    ["SETZ", "AND", "ANDCA", "SETM", "ANDCM", "SETA", "XOR", "IOR",
     "ANDCB", "EQV", "SETCA", "ORCA", "SETCM", "ORCM","ORCB", "SETO",
     .[21] = "FUNCTION", "SUB", .[24] = "FUNCTION", "INCM",
     .[30] = "FUNCTION", "LSHM", "MUL", "DIV", .[36] = "FUNCTION",
     "DIVR", .[40] = "FUNCTION", "DIVFS", .[63] = "FUNCTION"];

assert (mcr_alu_insn_names'length == 64,
        "invalid mcr_alu_insn_names table");

Run time error:

poke: ../../libpoke/pvm.jitter:724: pvm_execute_or_initialize: Assertion 
`jitter_original_state->pvm_state_backing.canary == JITTER_HEIGHT_STACK ()' 

Seems like the code generated is incorrect.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]