diff options
Diffstat (limited to 'test/debugInfo.asm.js')
-rw-r--r-- | test/debugInfo.asm.js | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/test/debugInfo.asm.js b/test/debugInfo.asm.js index bfdc85780..18555a8b9 100644 --- a/test/debugInfo.asm.js +++ b/test/debugInfo.asm.js @@ -84,6 +84,19 @@ function () { function nofile() { nofile(); //@line 1337 } - return { add: add, ret: ret, opts: opts, fib: fib, switch_reach: switch_reach, nofile: nofile }; + function inlineMe(x, y) { + x = x | 0; + y = y | 0; + x = x + y | 0; //@line 120 "inline_me.c" + y = x + y | 0; //@line 121 "inline_me.c" + x = x + y | 0; //@line 122 "inline_me.c" + return x | 0; //@line 123 "inline_me.c" + } + function inlineInto(x, y) { + x = x | 0; + y = y | 0; + return inlineMe(x | 0, y | 0) | 0; //@line 125 "inline_me.c" + } + return { add: add, ret: ret, opts: opts, fib: fib, switch_reach: switch_reach, nofile: nofile, inlineInto: inlineInto }; } |