PageRenderTime 20ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/zpao/v8monkey
JavaScript | 11 lines | 11 code | 0 blank | 0 comment | 1 complexity | e3d448db26ebd7d30aa0146b0b3366c8 MD5 | raw file
 1function Employee(name, dept) this.name = name || "";
 2function WorkerBee(name, dept, projs) {
 3    this.base = Employee
 4    this.base(name, dept)
 5}
 6function Engineer(name, projs, machine) {
 7    this.base = WorkerBee
 8    this.base(name, "engineering", projs)
 9    __proto__["a" + constructor] = 1
10}
11new Engineer;