Changeset 209018 in webkit for trunk/Source/JavaScriptCore/runtime/TemplateRegistry.cpp
- Timestamp:
- Nov 28, 2016, 2:21:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/TemplateRegistry.cpp
r208953 r209018 60 60 for (unsigned index = 0; index < count; ++index) { 61 61 templateObject->putDirectIndex(exec, index, jsString(exec, templateKey.cookedStrings()[index]), ReadOnly | DontDelete, PutDirectIndexLikePutDirect); 62 RETURN_IF_EXCEPTION(scope, nullptr); 62 63 rawObject->putDirectIndex(exec, index, jsString(exec, templateKey.rawStrings()[index]), ReadOnly | DontDelete, PutDirectIndexLikePutDirect); 64 RETURN_IF_EXCEPTION(scope, nullptr); 63 65 } 64 66 … … 66 68 ASSERT(!scope.exception()); 67 69 68 templateObject->putDirect(vm, exec->propertyNames().raw, rawObject, ReadOnly | DontEnum | DontDelete);70 templateObject->putDirect(vm, vm.propertyNames->raw, rawObject, ReadOnly | DontEnum | DontDelete); 69 71 70 72 // Template JSArray hold the reference to JSTemplateRegistryKey to make TemplateRegistryKey pointer live until this JSArray is collected.
Note:
See TracChangeset
for help on using the changeset viewer.