comparison: js/src/jit-test/tests/jaeger/testShiftSameBacking.js
js/src/jit-test/tests/jaeger/testShiftSameBacking.js
- branch
- TOR_BUG_3246
- changeset 7
- 129ffea94266
equal
deleted
inserted
replaced
|
1 // vim: set ts=8 sts=4 et sw=4 tw=99: |
|
2 |
|
3 function f(a) { |
|
4 var x = a; |
|
5 var y = x; |
|
6 |
|
7 assertEq((x << y), (a << a)); |
|
8 assertEq((y << x), (a << a)); |
|
9 } |
|
10 |
|
11 f(2); |
|
12 |