summaryrefslogtreecommitdiff
path: root/source/compiler/aslopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/aslopt.c')
-rw-r--r--source/compiler/aslopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler/aslopt.c b/source/compiler/aslopt.c
index 57be9c8cc393..4e53a4b0ac4c 100644
--- a/source/compiler/aslopt.c
+++ b/source/compiler/aslopt.c
@@ -406,7 +406,7 @@ OptBuildShortestPath (
* Construct a new target string
*/
NewPathExternal =
- ACPI_ALLOCATE_ZEROED (TargetPath->Length + NumCarats + 1);
+ UtLocalCacheCalloc (TargetPath->Length + NumCarats + 1);
/* Insert the Carats into the Target string */
@@ -679,7 +679,7 @@ OptOptimizeNamePath (
/* This is an optional optimization */
- if (!Gbl_ReferenceOptimizationFlag)
+ if (!AslGbl_ReferenceOptimizationFlag)
{
return_VOID;
}