[assembler] Fix and document emitted debug code
There is a debug check to check that an embedded code object is patched correctly. This check only makes sense if the code object was indeed pushed to the stack, otherwise we are checking the type marker. This CL fixes this check and adds a line of documentation. R=mstarzinger@chromium.org Change-Id: I5bc1454232cdbf2e9fef6eb41f7c7a20f31a5250 Reviewed-on: https://chromium-review.googlesource.com/924154 Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#51370}
Showing
Please
register
or
sign in
to comment