From b2d30c3283056496bb509bf9016e236c234b03ce Mon Sep 17 00:00:00 2001 From: uz Date: Mon, 7 Sep 2009 14:21:19 +0000 Subject: [PATCH] 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 --- src/cc65/asmcode.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/cc65/asmcode.c b/src/cc65/asmcode.c index e5fff9af0..83ea3b252 100644 --- a/src/cc65/asmcode.c +++ b/src/cc65/asmcode.c @@ -70,11 +70,6 @@ void RemoveCodeRange (const CodeMark* Start, const CodeMark* End) 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 */ CS_DelCodeRange (CS->Code, Start->Pos, End->Pos-1); } -- 2.39.5