MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / EMSCRIPTEN_KEEPALIVE sum_int

Function EMSCRIPTEN_KEEPALIVE sum_int

test/embind/embind_benchmark.cpp:23–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23int __attribute__((noinline)) EMSCRIPTEN_KEEPALIVE sum_int(int v1, int v2, int v3, int v4, int v5, int v6, int v7, int v8, int v9) {
24 return v1 + v2 + v3 + v4 + v5 + v6 + v7 + v8 + v9;
25}
26
27float __attribute__((noinline)) EMSCRIPTEN_KEEPALIVE sum_float(float v1, float v2, float v3, float v4, float v5, float v6, float v7, float v8, float v9) {
28 return v1 + v2 + v3 + v4 + v5 + v6 + v7 + v8 + v9;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected