MCPcopy Create free account
hub / github.com/facebook/react / js_print

Function js_print

scripts/perf-counters/src/jsc-perf.cpp:61–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61static JSValueRef js_print(
62 JSContextRef context,
63 JSObjectRef object,
64 JSObjectRef thisObject,
65 size_t argumentCount,
66 const JSValueRef arguments[],
67 JSValueRef *exception
68) {
69 for (int i = 0; i < argumentCount; i++) {
70 if (i != 0) {
71 printf(" ");
72 }
73 fprint_value(stdout, context, arguments[i]);
74 }
75 printf("\n");
76 return JSValueMakeUndefined(context);
77}
78
79static JSValueRef js_perf_counters_init(
80 JSContextRef context,

Callers

nothing calls this directly

Calls 1

fprint_valueFunction · 0.85

Tested by

no test coverage detected