Bug 1138265: update testcase to be more correct, r=bbouvier ON CLOSED TREE

This commit is contained in:
Hannes Verschore 2015-03-05 13:30:07 +01:00
Родитель d5524e76d3
Коммит 01775237e6
1 изменённых файлов: 17 добавлений и 12 удалений

Просмотреть файл

@ -1,13 +1,18 @@
// |jit-test| error:Error try {
(function(b, foreign, p) { (function(b, foreign, p) {
"use asm" "use asm"
var ff = foreign.ff var ff = foreign.ff
function f() { function f() {
ff() | 0 ff() | 0
} }
return f return f
})(this, { })(this, {
ff: startTraceLogger ff: startTraceLogger
}, ArrayBuffer)() }, ArrayBuffer)()
} catch(e) {
// Will throw exception if odinmonkey is on top of the stack upon calling startTraceLogger.
// If there is another frame added in between (ion/baseline/interpreter).
// This will just run to completion.
}
assertEq(true, true);