]>
Commit | Line | Data |
---|---|---|
81345200 A |
1 | function foo(x) { |
2 | if (DFGTrue()) | |
3 | x = "hello"; | |
4 | return x + " world"; | |
5 | } | |
6 | ||
7 | noInline(foo); | |
8 | ||
9 | for (var i = 0; i < 100000; ++i) { | |
10 | var result = foo({toString:function() { return "foo" }}); | |
11 | if (result != "foo world" && result != "hello world") | |
12 | throw "Error: bad result: " + result; | |
13 | } | |
14 |