Bug 1028556 part 2 - IonMonkey: Fix RPow test case. r=nbp
authorGuillaume Maudoux <layus.on@gmail.com>
Mon, 23 Jun 2014 04:41:40 -0700
changeset 190113 b9fac1fab6ca9ba4b839667ce8c795b863adeeea
parent 190112 7d12d632c7a3873207c0b4f2fbb880246bab1921
child 190114 e430f92519ce03f7930d75b02074c8d6547e62dd
push id27001
push userkwierso@gmail.com
push dateTue, 24 Jun 2014 00:35:42 +0000
treeherdermozilla-central@984cd22ec8c3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnbp
bugs1028556
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1028556 part 2 - IonMonkey: Fix RPow test case. r=nbp
js/src/jit-test/tests/ion/dce-with-rinstructions.js
--- a/js/src/jit-test/tests/ion/dce-with-rinstructions.js
+++ b/js/src/jit-test/tests/ion/dce-with-rinstructions.js
@@ -340,17 +340,17 @@ function rpow_number(i) {
 }
 
 var uceFault_pow_object = eval(uneval(uceFault).replace('uceFault', 'uceFault_pow_object'));
 function rpow_object(i) {
     var t = i;
     var o = { valueOf: function () { return t; } };
     var x = Math.pow(o, 3.14159); /* computed with t == i, not 1.5 */
     t = 1.5;
-    if (uceFault_bitnot_object(i) || uceFault_bitnot_object(i))
+    if (uceFault_pow_object(i) || uceFault_pow_object(i))
         assertEq(x, Math.pow(99, 3.14159));
     return i;
 }
 
 var uceFault_powhalf_number = eval(uneval(uceFault).replace('uceFault', 'uceFault_powhalf_number'));
 function rpowhalf_number(i) {
     var x = Math.pow(i, 0.5);
     if (uceFault_powhalf_number(i) || uceFault_powhalf_number(i))