diff options
Diffstat (limited to 'devtools/client/debugger/test/mochitest/examples/asm.js')
-rw-r--r-- | devtools/client/debugger/test/mochitest/examples/asm.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/devtools/client/debugger/test/mochitest/examples/asm.js b/devtools/client/debugger/test/mochitest/examples/asm.js new file mode 100644 index 0000000000..6ad5a620ed --- /dev/null +++ b/devtools/client/debugger/test/mochitest/examples/asm.js @@ -0,0 +1,10 @@ +/* Any copyright is dedicated to the Public Domain. + * http://creativecommons.org/publicdomain/zero/1.0/ */ + +var asmjs = (function() { + "use asm"; + function f() { + return 1 | 0; + } + return { f: f }; +})(); |