debugger.wast 720 B

1234567891011121314151617181920
  1. ;;-------------------------------------------------------------------------------------------------------
  2. ;; Copyright (C) Microsoft. All rights reserved.
  3. ;; Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. ;;-------------------------------------------------------------------------------------------------------
  5. (module
  6. (import "test" "foo" (func $foo (param i32)))
  7. (func (export "a") (param i32)
  8. (call $foo (get_local 0))
  9. )
  10. (func $b (export "b") (param i32)
  11. (call $foo (get_local 0))
  12. )
  13. (func $c (export "c") (param i32)
  14. (call $d (get_local 0))
  15. )
  16. (func $d (param i32)
  17. (call $b (get_local 0))
  18. )
  19. )