Changeset 206405 in webkit for trunk/Source/JavaScriptCore/runtime/SamplingProfiler.cpp
- Timestamp:
- Sep 26, 2016, 4:56:37 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/SamplingProfiler.cpp
r206267 r206405 592 592 return String(); 593 593 594 auto scope = DECLARE_CATCH_SCOPE(vm); 594 595 ExecState* exec = callee->globalObject()->globalExec(); 595 596 auto getPropertyIfPureOperation = [&] (const Identifier& ident) -> String { 596 597 PropertySlot slot(callee, PropertySlot::InternalMethodType::VMInquiry); 597 598 PropertyName propertyName(ident); 598 if (callee->getPropertySlot(exec, propertyName, slot)) { 599 bool hasProperty = callee->getPropertySlot(exec, propertyName, slot); 600 ASSERT_UNUSED(scope, !scope.exception()); 601 if (hasProperty) { 599 602 if (slot.isValue()) { 600 603 JSValue nameValue = slot.getValue(exec, propertyName);
Note:
See TracChangeset
for help on using the changeset viewer.