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
(function(b, foreign, p) {
"use asm"
var ff = foreign.ff
function f() {
ff() | 0
}
return f
})(this, {
ff: startTraceLogger
}, ArrayBuffer)()
try {
(function(b, foreign, p) {
"use asm"
var ff = foreign.ff
function f() {
ff() | 0
}
return f
})(this, {
ff: startTraceLogger
}, 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);