1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00

Remove stack pointer check in RemoveCodeRange - the calling function has to

take care about that.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4128 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-09-07 14:21:19 +00:00
parent 96b731dd96
commit b2d30c3283

View File

@ -70,11 +70,6 @@ void RemoveCodeRange (const CodeMark* Start, const CodeMark* End)
return; return;
} }
/* We can only delete the range if End is the end of the code segment or
* if both SP values are identical.
*/
CHECK (Start->SP == End->SP || End->Pos == CS_GetEntryCount (CS->Code));
/* Delete the range */ /* Delete the range */
CS_DelCodeRange (CS->Code, Start->Pos, End->Pos-1); CS_DelCodeRange (CS->Code, Start->Pos, End->Pos-1);
} }