let proto = {get d() { function accessC(arg){ var tmp = arg.c; return tmp.x;
}
// Phase 5: Ion-compile |accessC|, using the stashed |this| from phase 2. // This is a partially initialized object with a C property but not a B // property. for (var i = 0; i < 100000; i++) {
accessC(g_partial);
}
// Phase 6: call |accessC| with |this|, which is a partially initialized // object *without* a C (and B) property.
x = accessC(this);
}};
// Phase 1: Warm up the |Foo| constructor with normal data. for(let i = 0;i < 100;i++){ new Foo(obj, 1);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.