Skip to content

JIT plugin issue #24

Description

@oscar-broman

This cause the JIT plugin to crash, even if the code is not run:
https://github.com/Zeex/amx_assembly/blob/4d1955069c34ca297c376b770d7dbd4ecdf38e92/opcode.inc#L589

I solved it by changing it into this:

case OP_SWITCH: {
    new x = 0;
    switch (x) { case 0: return ReadOpcodeNearThis(-36); }
}

However, it only works when compiling with O1 so obviously it's not a good solution.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions