Bug 930990 - Make MTest a consistent Float32 operation. r=sstangl

This commit is contained in:
Benjamin Bouvier 2013-10-25 18:01:35 +02:00
parent c8290544de
commit c74085ce03
2 changed files with 13 additions and 0 deletions

View 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]);

View File

@ -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.