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