diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-18 14:34:54 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-18 14:34:54 -0800 |
commit | 42b3bb7206356f6543737696d3bbd75ebe2aad4f (patch) | |
tree | 6c5b3d2855f13f0084a3f972f029686c726bd1af /src/parseTools.js | |
parent | 7d95ee5784c4e1bd475aef46ebcdf4f4cac5cfbe (diff) |
phi progress, almost all unoptimized tests pass
Diffstat (limited to 'src/parseTools.js')
-rw-r--r-- | src/parseTools.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index 591e6add..e3734e0e 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -731,6 +731,11 @@ function cleanLabel(label) { } } +function getOldLabel(label) { + var parts = label.split('|'); + return parts[parts.length-1]; +} + function calcAllocatedSize(type) { if (pointingLevels(type) == 0 && isStructType(type)) { return Types.types[type].flatSize; // makeEmptyStruct(item.allocatedType).length; |