michael@0: // Don't eliminate a phi if it has no SSA uses but its value is still michael@0: // observable in the interpreter. michael@0: var t = 100; michael@0: function foo(ox) { michael@0: var x = ox; michael@0: var n = 0; michael@0: for (var i = 0; i < 90; i++) { michael@0: n += x.f.g; michael@0: if (i >= 80) michael@0: t; michael@0: } michael@0: } michael@0: function f() {} michael@0: function g() {} michael@0: f.prototype = {f:g}; michael@0: foo(new f());