While I was working on the reported bug, I found that we never checked if the prototype has changed before going into fast path. I fixed both and added test case for them. PTAL, thanks.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
Register object = scratch_scope.AcquireScratch();
Register next = scratch_scope.AcquireScratch();
__ LoadRegister(object, RegisterOperand(0));
__ LoadRegister(next, RegisterOperand(1));
// Pass the output register slot as an argument, so that the builtin
// is responsible for writing into the slots.
Register out_reg_address = scratch_scope.AcquireScratch();
basm_.RegisterFrameAddress(RegisterOperand(2), out_reg_address);
CallBuiltin<Builtin::kForOfNextBaseline>(object, // object
next, // next
out_reg_address); // out_regThis part is to fix the failure I was getting on my both CLs: https://ci.chromium.org/ui/p/v8/builders/try/v8_linux_rel/b8700456800073641505/overview
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
friendly ping :)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Register object = scratch_scope.AcquireScratch();
Register next = scratch_scope.AcquireScratch();
__ LoadRegister(object, RegisterOperand(0));
__ LoadRegister(next, RegisterOperand(1));
// Pass the output register slot as an argument, so that the builtin
// is responsible for writing into the slots.
Register out_reg_address = scratch_scope.AcquireScratch();
basm_.RegisterFrameAddress(RegisterOperand(2), out_reg_address);
CallBuiltin<Builtin::kForOfNextBaseline>(object, // object
next, // next
out_reg_address); // out_regLeszek SwirskiThis part is to fix the failure I was getting on my both CLs: https://ci.chromium.org/ui/p/v8/builders/try/v8_linux_rel/b8700456800073641505/overview
I'm not 100% why this is broken in the previous version but if it fixes things then lgtm.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[for-of-performance] Check if next method is callable
This CL adds two checks: 1) if the iterator next method
is modified by the user, 2) if the next method is callable.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |