diff options
author | Alon Zakai <azakai@mozilla.com> | 2011-02-22 20:49:19 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2011-02-22 20:49:19 -0800 |
commit | 9efae48667c05a5cd7e699a3a95b7db80539b801 (patch) | |
tree | 3fd91082153c1d702b39f100e792557ee8de918c /src/parseTools.js | |
parent | b381f9f375aa479dcbd4367af19cb698d4de1b43 (diff) |
global Types object refactoring
Diffstat (limited to 'src/parseTools.js')
-rw-r--r-- | src/parseTools.js | 4 |
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... } |