summaryrefslogtreecommitdiff
path: root/source/compiler/cvcompiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/cvcompiler.c')
-rw-r--r--source/compiler/cvcompiler.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/compiler/cvcompiler.c b/source/compiler/cvcompiler.c
index afb6ea1bce57..d2a6c8f06fc6 100644
--- a/source/compiler/cvcompiler.c
+++ b/source/compiler/cvcompiler.c
@@ -193,7 +193,7 @@ CvProcessComment (
*StringBuffer = 0;
CvDbgPrint ("Multi-line comment\n");
- CommentString = UtStringCacheCalloc (strlen (MsgBuffer) + 1);
+ CommentString = UtLocalCacheCalloc (strlen (MsgBuffer) + 1);
strcpy (CommentString, MsgBuffer);
CvDbgPrint ("CommentString: %s\n", CommentString);
@@ -208,7 +208,7 @@ CvProcessComment (
if (LineToken)
{
- FinalLineToken = UtStringCacheCalloc (strlen (LineToken) + 1);
+ FinalLineToken = UtLocalCacheCalloc (strlen (LineToken) + 1);
strcpy (FinalLineToken, LineToken);
/* Get rid of any carriage returns */
@@ -238,7 +238,7 @@ CvProcessComment (
}
}
- FinalLineToken = UtStringCacheCalloc (strlen (LineToken) + 1);
+ FinalLineToken = UtLocalCacheCalloc (strlen (LineToken) + 1);
strcat (FinalLineToken, LineToken);
/* Get rid of any carriage returns */
@@ -268,7 +268,7 @@ CvProcessComment (
* spacing.
*/
FinalCommentString =
- UtStringCacheCalloc (strlen (CommentString) +
+ UtLocalCacheCalloc (strlen (CommentString) +
CurrentState.SpacesBefore + 1);
for (i = 0; (CurrentState.CommentType != ASL_COMMENT_STANDARD) &&
@@ -313,7 +313,7 @@ CvProcessCommentType2 (
{
*StringBuffer = 0; /* null terminate */
CvDbgPrint ("Single-line comment\n");
- CommentString = UtStringCacheCalloc (strlen (MsgBuffer) + 1);
+ CommentString = UtLocalCacheCalloc (strlen (MsgBuffer) + 1);
strcpy (CommentString, MsgBuffer);
/* If this comment lies on the same line as the latest parse op,
@@ -342,7 +342,7 @@ CvProcessCommentType2 (
* [ (spaces) (comment) ( * /) ('\0') ]
*
*/
- FinalCommentString = UtStringCacheCalloc (CurrentState.SpacesBefore +
+ FinalCommentString = UtLocalCacheCalloc (CurrentState.SpacesBefore +
strlen (CommentString) + 3 + 1);
for (i = 0; (CurrentState.CommentType != 1) &&
@@ -507,7 +507,7 @@ CgWriteAmlDefBlockComment(
/* First, print the file name comment after changing .asl to .dsl */
- NewFilename = UtStringCacheCalloc (strlen (Op->Asl.Filename));
+ NewFilename = UtLocalCacheCalloc (strlen (Op->Asl.Filename));
strcpy (NewFilename, Op->Asl.Filename);
DirectoryPosition = strrchr (NewFilename, '/');
Position = strrchr (NewFilename, '.');
@@ -944,7 +944,7 @@ CvAppendInlineComment (
Size = strlen (ToAdd);
Size += strlen (InlineComment);
- Str = UtStringCacheCalloc (Size + 1);
+ Str = UtLocalCacheCalloc (Size + 1);
strcpy (Str, InlineComment);
strcat (Str, ToAdd);