Changeset View
Changeset View
Standalone View
Standalone View
libraries/source/spidermonkey/include-win32-debug/jsperf.h
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | extern JS_FRIEND_API(JSObject*) | ||||
RegisterPerfMeasurement(JSContext* cx, JS::HandleObject global); | RegisterPerfMeasurement(JSContext* cx, JS::HandleObject global); | ||||
/* | /* | ||||
* Given a Value which contains an instance of the aforementioned | * Given a Value which contains an instance of the aforementioned | ||||
* wrapper class, extract the C++ object. Returns nullptr if the | * wrapper class, extract the C++ object. Returns nullptr if the | ||||
* Value is not an instance of the wrapper. | * Value is not an instance of the wrapper. | ||||
*/ | */ | ||||
extern JS_FRIEND_API(PerfMeasurement*) | extern JS_FRIEND_API(PerfMeasurement*) | ||||
ExtractPerfMeasurement(Value wrapper); | ExtractPerfMeasurement(const Value& wrapper); | ||||
} // namespace JS | } // namespace JS | ||||
#endif /* perf_jsperf_h */ | #endif /* perf_jsperf_h */ |
Wildfire Games · Phabricator