зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1138265: update testcase to be more correct, r=bbouvier ON CLOSED TREE
This commit is contained in:
Родитель
d5524e76d3
Коммит
01775237e6
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче