]> git.sur5r.net Git - cc65/blobdiff - src/cc65/asmcode.c
Bugfix
[cc65] / src / cc65 / asmcode.c
index 046043f2b43c6fa8cf9dbb3379e6bd1396d4b056..dda8ed81b04464c2275b5d9a99b05fa437e884b6 100644 (file)
 
 
 
-void AddCodeHint (const char* Hint)
-/* Add an optimizer hint */
-{
-    /* ### AddCodeLine ("+%s", Hint); */
-}
-
-
-
 CodeMark GetCodePos (void)
 /* Get a marker pointing to the current output position */
 {
-    return GetCodeSegEntries (CS->Code);
+    return GetCodeEntryCount (CS->Code);
 }
 
 
@@ -83,7 +75,7 @@ void WriteOutput (FILE* F)
     SymEntry* Entry;
 
     /* Output the global data segment */
-    CHECK (GetCodeSegEntries (CS->Code) == 0);
+    CHECK (GetCodeEntryCount (CS->Code) == 0);
     OutputSegments (CS, F);
 
     /* Output all global or referenced functions */