aboutsummaryrefslogtreecommitdiff
path: root/src/runtime.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime.js')
-rw-r--r--src/runtime.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime.js b/src/runtime.js
index 8c2c8f4d..e07d5054 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -212,7 +212,7 @@ var Runtime = {
if (field[1] === '0') {
// this is [0 x something]. When inside another structure like here, it must be at the end,
// and it adds no size
- assert(index === type.fields.length);
+ // XXX this happens in java-nbody for example... assert(index === type.fields.length, 'zero-length in the middle!');
size = 0;
alignSize = type.alignSize || QUANTUM_SIZE;
} else {