function testMethodSet() {  // bug 503198
    function o() { return 'o'; }
    function k() { return 'k'; }

    var x;
    for (var i = 0; i < 10; i++) {
        x = {};
        x.o = o;
        x.k = k;
    }
    return x.o() + x.k();
}
assertEq(testMethodSet(), "ok");
checkStats({
  recorderStarted: 1,
  traceCompleted: 1,
  sideExitIntoInterpreter: 1
});
