mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 930990 - Make MTest a consistent Float32 operation. r=sstangl
This commit is contained in:
parent
c8290544de
commit
c74085ce03
8
js/src/jit-test/tests/ion/bug930990.js
Normal file
8
js/src/jit-test/tests/ion/bug930990.js
Normal file
@ -0,0 +1,8 @@
|
||||
var f32 = new Float32Array(10);
|
||||
f32[0] = 5;
|
||||
var i = 0;
|
||||
do {
|
||||
f32[i + 1] = f32[i] - 1;
|
||||
i += 1;
|
||||
} while (f32[i]);
|
||||
|
@ -1303,6 +1303,11 @@ class MTest
|
||||
bool operandMightEmulateUndefined() const {
|
||||
return operandMightEmulateUndefined_;
|
||||
}
|
||||
#ifdef DEBUG
|
||||
bool isConsistentFloat32Use() const {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
// Returns from this function to the previous caller.
|
||||
|
Loading…
Reference in New Issue
Block a user