mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1135428: Fix test to run with --no-asmjs as well on a CLOSED TREE; r=bustage
This commit is contained in:
parent
28a5828a95
commit
44e4c91635
@ -1,4 +1,10 @@
|
||||
// |jit-test| error:Error
|
||||
|
||||
if (!isAsmJSCompilationAvailable()) {
|
||||
throw new Error('this test expects an error to be thrown, here it is');
|
||||
quit();
|
||||
}
|
||||
|
||||
var g = newGlobal();
|
||||
evaluate("function h() { function f() { 'use asm'; function g() { return 42 } return g } return f }", { compileAndGo:false, global:g});
|
||||
var h = clone(g.h);
|
||||
|
Loading…
Reference in New Issue
Block a user