Changeset 231492 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- May 8, 2018, 10:52:55 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r231468 r231492 348 348 static EncodedJSValue JSC_HOST_CALL functionDisableRichSourceInfo(ExecState*); 349 349 static EncodedJSValue JSC_HOST_CALL functionMallocInALoop(ExecState*); 350 static EncodedJSValue JSC_HOST_CALL functionTotalCompileTime(ExecState*);351 350 352 351 struct Script { … … 608 607 addFunction(vm, "disableRichSourceInfo", functionDisableRichSourceInfo, 0); 609 608 addFunction(vm, "mallocInALoop", functionMallocInALoop, 0); 610 addFunction(vm, "totalCompileTime", functionTotalCompileTime, 0);611 609 } 612 610 … … 1812 1810 } 1813 1811 1814 EncodedJSValue JSC_HOST_CALL functionTotalCompileTime(ExecState*)1815 {1816 return JSValue::encode(jsNumber(JIT::totalCompileTime().milliseconds()));1817 }1818 1819 1812 template<typename ValueType> 1820 1813 typename std::enable_if<!std::is_fundamental<ValueType>::value>::type addOption(VM&, JSObject*, Identifier, ValueType) { }
Note:
See TracChangeset
for help on using the changeset viewer.