1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/auto-regress/bug679810.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +// Binary: cache/js-dbg-64-2d95fc517e57-linux 1.5 +// Flags: -m -n 1.6 +// 1.7 + 1.8 +function WorkerBee(name, dept, projs) { 1.9 + this.projects &= projs || new Array(); 1.10 +} 1.11 +function Engineer(name, projs, machine) { 1.12 + this.base = WorkerBee; 1.13 + this.base(name, "engineering", projs) 1.14 + this.machine = machine || ""; 1.15 +} 1.16 +Engineer.prototype = {}; 1.17 +var les = new Engineer("Morris, Les", new Array("JavaScript"), "indy");