/js/src/jit-test/tests/jaeger/recompile/bug649769.js
http://github.com/zpao/v8monkey · JavaScript · 16 lines · 13 code · 3 blank · 0 comment · 1 complexity · 1793840008c14959cc6b8cb197c22d0a MD5 · raw file
- function g(x) {
- if (!x) {
- throw 1;
- }
- }
- function f(a, b, c, d) {
- var x = [].push(3);
- g(true);
- assertEq(x, 1);
- }
- f(1.2, 2, 3, 4);
- gc();
- f(1, 2, 3, 4);