Changeset 197817 in webkit
- Timestamp:
- Mar 8, 2016, 4:21:26 PM (9 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r197816 r197817 1 2016-03-08 Mark Lam <mark.lam@apple.com> 2 3 Implement Function.name support for getters/setters and inferring name of function properties. 4 https://bugs.webkit.org/show_bug.cgi?id=154865 5 6 Rubber-stamped by Joseph Pecoraro. 7 8 Follow up to the fix for this bug: adding a few small clean-ups for issues Joe 9 pointed out in the bug. 10 11 * runtime/JSBoundSlotBaseFunction.cpp: 12 (JSC::JSBoundSlotBaseFunction::create): 13 * runtime/JSCJSValue.cpp: 14 (JSC::JSValue::putToPrimitiveByIndex): 15 1 16 2016-03-08 Oliver Hunt <oliver@apple.com> 2 17 -
trunk/Source/JavaScriptCore/runtime/JSBoundSlotBaseFunction.cpp
r197815 r197817 68 68 69 69 // Can't do this during initialization because getHostFunction might do a GC allocation. 70 Stringprefix = (type == Type::Getter) ? "get " : "set ";70 const char* prefix = (type == Type::Getter) ? "get " : "set "; 71 71 function->finishCreation(vm, executable, boundSlotBase, getterSetter, makeString(prefix, name)); 72 72 return function; -
trunk/Source/JavaScriptCore/runtime/JSCJSValue.cpp
r197815 r197817 208 208 return; 209 209 210 if (shouldThrow && !exec->hadException())211 210 if (shouldThrow) 212 211 throwTypeError(exec, StrictModeReadonlyPropertyWriteError);
Note:
See TracChangeset
for help on using the changeset viewer.