aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 6cf186d0..4c70867a 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -501,9 +501,9 @@ function cleanLabel(label) {
}
}
-function calcAllocatedSize(type, TYPES) {
+function calcAllocatedSize(type) {
if (pointingLevels(type) == 0 && isStructType(type)) {
- return TYPES[type].flatSize; // makeEmptyStruct(item.allocatedType).length;
+ return Types.types[type].flatSize; // makeEmptyStruct(item.allocatedType).length;
} else {
return getNativeFieldSize(type, true); // We can really get away with '1', though, at least on the stack...
}