blob: e0e102f34697f844eb2c574e95a206f0599e6d1d [file] [log] [blame]
Tests whether bytecode codegen properly handles temporaries.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS a is true
PASS b is false
PASS assign_test1() is 'PASS'
PASS assign_test2() is 'PASS'
PASS assign_test3() is 'PASS'
PASS testObject4.test is 'PASS'
PASS testObject5.test is 'PASS'
PASS assign_test6() is 'PASS'
PASS assign_test7() is 'PASS'
PASS assign_test8() is 'PASS'
PASS assign_test9() is 'PASS'
PASS testObject10.test is 'PASS'
PASS assign_test11() is 'PASS'
PASS assign_test12() is 'PASS'
PASS assign_test13() is 'PASS'
PASS assign_test14() is 'PASS'
PASS assign_test15() is 'PASS'
PASS assign_test16() is 2
PASS a17 is 3
PASS assign_test18() is 3
PASS a19.b is 3
PASS assign_test20() is 3
PASS a21['b'] is 3
PASS assign_test22() is 3
PASS assign_test23() is 3
PASS assign_test24() is 3
PASS assign_test25() is 3
PASS assign_test26() is 3
PASS assign_test27() is 3
PASS assign_test28() is 3
PASS assign_test29() is 3
PASS assign_test30() is 'fooNaN'
PASS assign_test31() is 'PASS'
PASS bracket_test1() is -1
PASS bracket_test2() is 1
PASS bracket_test3() is 0
PASS bracket_test4() is 0
PASS bracket_test5() is 1
PASS bracket_test6() is 1
PASS mult_test1() is 2
PASS mult_test2() is 2
PASS mult_test3() is 2
PASS div_test1() is 0.5
PASS div_test2() is 0.5
PASS div_test3() is 0.5
PASS mod_test1() is 1
PASS mod_test2() is 1
PASS mod_test3() is 1
PASS add_test1() is 3
PASS add_test2() is 3
PASS add_test3() is 3
PASS sub_test1() is -1
PASS sub_test2() is -1
PASS sub_test3() is -1
PASS lshift_test1() is 4
PASS lshift_test2() is 4
PASS lshift_test3() is 4
PASS rshift_test1() is 1
PASS rshift_test2() is 1
PASS rshift_test3() is 1
PASS urshift_test1() is 1
PASS urshift_test2() is 1
PASS urshift_test3() is 1
PASS less_test1() is true
PASS less_test2() is true
PASS less_test3() is true
PASS greater_test1() is true
PASS greater_test2() is true
PASS greater_test3() is true
PASS lesseq_test1() is true
PASS lesseq_test2() is true
PASS lesseq_test3() is true
PASS greatereq_test1() is true
PASS greatereq_test2() is true
PASS greatereq_test3() is true
PASS instanceof_test1() is true
PASS instanceof_test2() is true
PASS instanceof_test3() is true
PASS in_test1() is true
PASS in_test2() is true
PASS in_test3() is true
PASS eq_test1() is false
PASS eq_test2() is false
PASS eq_test3() is false
PASS neq_test1() is true
PASS neq_test2() is true
PASS neq_test3() is true
PASS stricteq_test1() is false
PASS stricteq_test2() is false
PASS stricteq_test3() is false
PASS nstricteq_test1() is true
PASS nstricteq_test2() is true
PASS nstricteq_test3() is true
PASS bitand_test1() is 0
PASS bitand_test2() is 0
PASS bitand_test3() is 0
PASS bitor_test1() is 3
PASS bitor_test2() is 3
PASS bitor_test3() is 3
PASS bitxor_test1() is 3
PASS bitxor_test2() is 3
PASS bitxor_test3() is 3
PASS switch_test1() is true
PASS switch_test2() is true
PASS switch_test3() is true
PASS construct_test() is true
PASS [(0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), (0/0), ].length is 64
PASS successfullyParsed is true
TEST COMPLETE