Changeset 109824 in webkit for trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
- Timestamp:
- Mar 5, 2012, 5:18:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
r109172 r109824 147 147 namespace JSC { namespace DFG { 148 148 149 template<bool strict> 149 150 static inline void putByVal(ExecState* exec, JSValue baseValue, uint32_t index, JSValue value) 150 151 { … … 176 177 } 177 178 178 baseValue.put (exec, index, value);179 baseValue.putByIndex(exec, index, value, strict); 179 180 } 180 181 … … 190 191 191 192 if (LIKELY(property.isUInt32())) { 192 putByVal (exec, baseValue, property.asUInt32(), value);193 putByVal<strict>(exec, baseValue, property.asUInt32(), value); 193 194 return; 194 195 } … … 198 199 uint32_t propertyAsUInt32 = static_cast<uint32_t>(propertyAsDouble); 199 200 if (propertyAsDouble == propertyAsUInt32) { 200 putByVal (exec, baseValue, propertyAsUInt32, value);201 putByVal<strict>(exec, baseValue, propertyAsUInt32, value); 201 202 return; 202 203 }
Note:
See TracChangeset
for help on using the changeset viewer.