Changeset 188549 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Aug 17, 2015, 3:57:23 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r188351 r188549 1151 1151 FunctionExecutable* executable = (jsDynamicCast<JSFunction*>(functionValue.asCell()->getObject()))->jsExecutable(); 1152 1152 1153 unsigned offset = executable-> source().startOffset();1153 unsigned offset = executable->typeProfilingStartOffset(); 1154 1154 String jsonString = exec->vm().typeProfiler()->typeInformationForExpressionAtOffset(TypeProfilerSearchDescriptorFunctionReturn, offset, executable->sourceID(), exec->vm()); 1155 1155 return JSValue::encode(JSONParse(exec, jsonString));
Note:
See TracChangeset
for help on using the changeset viewer.