1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/auto-regress/bug643847.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,13 @@ 1.4 +// Binary: cache/js-dbg-64-c811be25eaad-linux 1.5 +// Flags: 1.6 +// 1.7 +function f(o) { 1.8 + o.constructor = function() {}; 1.9 +} 1.10 +__proto__.__defineSetter__('constructor', 1.11 +function(v) {}); 1.12 +f({}); 1.13 +Object.defineProperty(__proto__, 'constructor', { 1.14 + writable: true, 1.15 +}); 1.16 +f({});