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