michael@0: // |jit-test| debug michael@0: setDebug(true); michael@0: x = "notset"; michael@0: function main() { michael@0: /* The JSOP_STOP in main. */ michael@0: a = { valueOf: function () { trap(main, 91, "success()"); } }; michael@0: b = ""; michael@0: eval(); michael@0: a + b; michael@0: x = "failure"; michael@0: } michael@0: function success() { x = "success"; } michael@0: michael@0: main(); michael@0: assertEq(x, "success");