Imported Upstream version 1.0.0
[platform/upstream/js.git] / js / src / jit-test / tests / jaeger / bug563000 / eif-getter-typechange.js
1 // |jit-test| mjitalways;debug
2 setDebug(true);
3
4 this.__defineGetter__("someProperty", function () { evalInFrame(1, "var x = 'success'"); });
5 function caller(obj) {
6   assertJit();
7   var x = ({ dana : 'zuul' });
8   obj.someProperty;
9   return x;
10 }
11 assertEq(caller(this), "success");