js/src/jit-test/tests/jaeger/recompile/bug658777.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/jaeger/recompile/bug658777.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,11 @@
     1.4 +function Employee(name, dept) this.name = name || "";
     1.5 +function WorkerBee(name, dept, projs) {
     1.6 +    this.base = Employee
     1.7 +    this.base(name, dept)
     1.8 +}
     1.9 +function Engineer(name, projs, machine) {
    1.10 +    this.base = WorkerBee
    1.11 +    this.base(name, "engineering", projs)
    1.12 +    __proto__["a" + constructor] = 1
    1.13 +}
    1.14 +new Engineer;

mercurial