Changeset 177401 in webkit for trunk/Source/JavaScriptCore/jit/JITOperations.cpp
- Timestamp:
- Dec 16, 2014, 3:08:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITOperations.cpp
r177380 r177401 274 274 JSValue baseValue = JSValue::decode(encodedBase); 275 275 PutPropertySlot slot(baseValue, true, exec->codeBlock()->putByIdContext()); 276 277 Structure* structure = baseValue.isCell() ? baseValue.asCell()->structure(*vm) : nullptr; 276 278 277 baseValue.put(exec, ident, value, slot); 279 278 … … 282 281 283 282 if (stubInfo->seen) 284 repatchPutByID(exec, baseValue, structure,ident, slot, *stubInfo, NotDirect);283 repatchPutByID(exec, baseValue, ident, slot, *stubInfo, NotDirect); 285 284 else 286 285 stubInfo->seen = true; … … 298 297 JSValue baseValue = JSValue::decode(encodedBase); 299 298 PutPropertySlot slot(baseValue, false, exec->codeBlock()->putByIdContext()); 300 301 Structure* structure = baseValue.isCell() ? baseValue.asCell()->structure(*vm) : nullptr; 299 302 300 baseValue.put(exec, ident, value, slot); 303 301 … … 306 304 307 305 if (stubInfo->seen) 308 repatchPutByID(exec, baseValue, structure,ident, slot, *stubInfo, NotDirect);306 repatchPutByID(exec, baseValue, ident, slot, *stubInfo, NotDirect); 309 307 else 310 308 stubInfo->seen = true; … … 323 321 PutPropertySlot slot(baseObject, true, exec->codeBlock()->putByIdContext()); 324 322 325 Structure* structure = baseObject->structure(*vm);326 323 baseObject->putDirect(exec->vm(), ident, value, slot); 327 324 … … 330 327 331 328 if (stubInfo->seen) 332 repatchPutByID(exec, baseObject, structure,ident, slot, *stubInfo, Direct);329 repatchPutByID(exec, baseObject, ident, slot, *stubInfo, Direct); 333 330 else 334 331 stubInfo->seen = true; … … 347 344 PutPropertySlot slot(baseObject, false, exec->codeBlock()->putByIdContext()); 348 345 349 Structure* structure = baseObject->structure(*vm);350 346 baseObject->putDirect(exec->vm(), ident, value, slot); 351 347 … … 354 350 355 351 if (stubInfo->seen) 356 repatchPutByID(exec, baseObject, structure,ident, slot, *stubInfo, Direct);352 repatchPutByID(exec, baseObject, ident, slot, *stubInfo, Direct); 357 353 else 358 354 stubInfo->seen = true;
Note:
See TracChangeset
for help on using the changeset viewer.