DescriptionCorrectly format builtin constructors in stack traces
CallSite::IsConstructor() was unable to recognize builtin construct stubs
(NumberConstructor_ConstructStub and StringConstructor_ConstructStub) as
constructors, and thus these frames were not formatted correctly in stack
traces.
Fix this by explicitly marking their Code objects as construct stubs and
passing along a special receiver value when we encounter such cases in
CaptureSimpleStackTrace.
R=mstarzinger@chromium.org, yangguo@chromium.org
BUG=
Committed: https://crrev.com/be5808bff899b503f1ff026cec9e5c28d13fed7d
Cr-Commit-Position: refs/heads/master@{#37631}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Address comments & rebase on master #Patch Set 3 : Rebase #
Messages
Total messages: 33 (16 generated)
|