Changeset 197308 in webkit for trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
- Timestamp:
- Feb 28, 2016, 9:26:05 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
r197205 r197308 590 590 ASSERT(!hasReifiedName()); 591 591 ASSERT(!isHostFunction()); 592 JSValue initialValue = jsExecutable()->nameValue();593 592 unsigned initialAttributes = DontEnum | ReadOnly; 594 593 const Identifier& identifier = exec->propertyNames().name; 595 putDirect(vm, identifier, initialValue, initialAttributes);594 putDirect(vm, identifier, jsString(exec, jsExecutable()->name().string()), initialAttributes); 596 595 597 596 rareData->setHasReifiedName();
Note:
See TracChangeset
for help on using the changeset viewer.