File: emscripten_tempret.s

package info (click to toggle)
emscripten 3.1.69%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 121,860 kB
  • sloc: ansic: 636,110; cpp: 425,974; javascript: 78,401; python: 58,404; sh: 49,154; pascal: 5,237; makefile: 3,366; asm: 2,415; lisp: 1,869
file content (42 lines) | stat: -rw-r--r-- 1,118 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.section .globals,"",@

.globaltype tempRet0, i32
tempRet0:

.section .text,"",@

.globl _emscripten_tempret_set
_emscripten_tempret_set:
  .functype _emscripten_tempret_set (i32) -> ()
  local.get 0
  global.set tempRet0
  end_function

.globl _emscripten_tempret_get
_emscripten_tempret_get:
  .functype _emscripten_tempret_get () -> (i32)
  global.get tempRet0
  end_function

# These aliases exist for LegalizeJSInterface pass in binaryen
# They get exported by emcc and the exports are then removed by the
# binaryen pass
.globl __get_temp_ret
.type __get_temp_ret, @function
__get_temp_ret = _emscripten_tempret_get

.globl __set_temp_ret
.type __set_temp_ret, @function
__set_temp_ret = _emscripten_tempret_set

# These aliases exist for the llvm passes that generate calls to these
# functions.  These aliases should no longer be exported by emscripten
# and hopefully can be removed if/when we transition llvm to the new names
# above.
.globl getTempRet0
.type getTempRet0, @function
getTempRet0 = _emscripten_tempret_get

.globl setTempRet0
.type setTempRet0, @function
setTempRet0 = _emscripten_tempret_set