Index: test/webkit/dfg-mul-big-integer-with-small-integer.js |
diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/dfg-mul-big-integer-with-small-integer.js |
similarity index 86% |
copy from test/webkit/resources/standalone-post.js |
copy to test/webkit/dfg-mul-big-integer-with-small-integer.js |
index d157e78bfa084329e2ec1a9b7d6ad456e904c152..8450cedc47f51e36b2059393256abf8f7af9a901 100644 |
--- a/test/webkit/resources/standalone-post.js |
+++ b/test/webkit/dfg-mul-big-integer-with-small-integer.js |
@@ -21,6 +21,13 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-wasPostTestScriptParsed = true; |
+description( |
+"Tests what happens when you multiply a big unknown integer with a small known integer." |
+); |
-finishJSTest(); |
+function foo(a) { |
+ return a * 65536; |
+} |
+ |
+for (var i = 0; i < 100; ++i) |
+ shouldBe("foo(2147483647)", "140737488289792"); |