js/src/jit-test/tests/basic/bug642569.js

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 function main() {
michael@0 2 var v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14,
michael@0 3 v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28,
michael@0 4 v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42,
michael@0 5 v43, v44, v45, v46, v47;
michael@0 6 var v48 = 0, v49 = 0;
michael@0 7 if (true) {
michael@0 8 var v50 = v48 - 1;
michael@0 9 var v51 = v49 + 1;
michael@0 10 return v51;
michael@0 11 }
michael@0 12 }
michael@0 13 assertEq(main(), 1);

mercurial