Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
1 result

vm.c

  • Damien George's avatar
    2fca0d7f
    py/vm: Shorten error message for not-implemented opcode. · 2fca0d7f
    Damien George authored
    It's really an opcode that's not implemented, so use "opcode" instead of
    "byte code".  And remove the redundant "not implemented" text because that
    is already implied by the exception type.  There's no need to have a long
    error message for an exception that is almost never encountered.  Saves
    about 20 bytes of code size on most ports.
    2fca0d7f
    History
    py/vm: Shorten error message for not-implemented opcode.
    Damien George authored
    It's really an opcode that's not implemented, so use "opcode" instead of
    "byte code".  And remove the redundant "not implemented" text because that
    is already implied by the exception type.  There's no need to have a long
    error message for an exception that is almost never encountered.  Saves
    about 20 bytes of code size on most ports.