aboutsummaryrefslogtreecommitdiff
path: root/src/analyzer.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2010-11-27 20:58:19 -0800
committerAlon Zakai <azakai@mozilla.com>2010-11-27 20:58:19 -0800
commite0f339fe650ade07087f3e8df8e468bdb5b46a35 (patch)
tree1d773e832969226245cfb623d487320252d63a0e /src/analyzer.js
parentc3f19a35f46dfc0879862212140867cb1998cc65 (diff)
fix bug in laying out of constant structures +tests
Diffstat (limited to 'src/analyzer.js')
-rw-r--r--src/analyzer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index 0d0915b0..c57b3be9 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -113,7 +113,7 @@ function analyzer(data, givenTypes) {
if (!data.types[zerod]) {
data.types[zerod] = {
name_: zerod,
- fields: [subType],
+ fields: [subType, subType], // Two, so we get the flatFactor right. We care about the flatFactor, not the size here
lineNum: '?',
};
}