Skip to content

Conversation

@Kailo97
Copy link
Contributor

@Kailo97 Kailo97 commented Mar 24, 2018

Probably copy-paste mistake.

@dvander
Copy link
Member

dvander commented Mar 26, 2018

Looks good, nice catch - was there a test case that caused this, that we could add to the suite?

@Kailo97
Copy link
Contributor Author

Kailo97 commented Mar 26, 2018

Just found this while looking for code (writing bytecode reference). sc4.cpp saying that "inc/dec.alt" not generatable by original SP compiler. But it can be generated only by "emit" supported compiler or as direct smx modification.

@dvander
Copy link
Member

dvander commented Mar 26, 2018

Hrm, okay. With ungenerated opcodes I'd prefer to remove them from the verifier & VM. It makes the implementation surface a bit smaller. Lemme first make sure it didn't appear in older versions or anything though.

@dvander
Copy link
Member

dvander commented Mar 28, 2018

Well, it's never been used, but might as well keep it around. It's already implemented.

@dvander dvander merged commit 4159e1a into alliedmodders:master Mar 28, 2018
@Kailo97 Kailo97 deleted the patch-1 branch March 28, 2018 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants