[deoptimizer] Do not pass arguments markers to the debugger.
authorjarin <jarin@chromium.org>
Mon, 3 Aug 2015 10:43:24 +0000 (03:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 3 Aug 2015 10:43:31 +0000 (10:43 +0000)
commitf8dcbf4695f4e729513c447dbc0703c1704c3213
treedb10079b84ea05502f3c7cc60e343c92eb1fb7b5
parent6ab1f70e12d5a8d44a5e3df3960899f9265558a2
[deoptimizer] Do not pass arguments markers to the debugger.

This fixes a bug introduced by r28826 (Unify decoding of deoptimization
translations, https://codereview.chromium.org/1136223004), where we
started leaking arguments marker sentinel to the debugger, which would
then cause crashes. This change replaces the sentinel with the undefined
value in the debugger-inspectable frame.

BUG=chromium:514362
LOG=n
R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/1263333002

Cr-Commit-Position: refs/heads/master@{#29971}
src/deoptimizer.cc
test/mjsunit/debug-materialized.js [new file with mode: 0644]