Commit 50a63145 authored by Sigurd Schneider's avatar Sigurd Schneider Committed by Commit Bot

[code-health] Improve documentation in deoptimizer

R=jarin@chromium.org

Bug: v8:7584
Change-Id: I299e49452d70891190490f44f2db299dfa7d864c
Reviewed-on: https://chromium-review.googlesource.com/981150Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52262}
parent 08090db7
......@@ -1363,6 +1363,8 @@ void Deoptimizer::DoComputeConstructStubFrame(TranslatedFrame* translated_frame,
// TO
// | .... |
// +-------------------------+
// | arg padding (arch dept) |<- at most 1*kPointerSize
// +-------------------------+
// | builtin param 0 |<- FrameState input value n becomes
// +-------------------------+
// | ... |
......@@ -1384,7 +1386,13 @@ void Deoptimizer::DoComputeConstructStubFrame(TranslatedFrame* translated_frame,
// | ... | to map a FrameState's 0..n-1 inputs to
// +-------------------------+ the builtin's n input register params.
// | builtin input GPR regn |
// |-------------------------|<- spreg
// +-------------------------+
// | reg padding (arch dept) |
// +-------------------------+
// | res padding (arch dept) |<- only if {is_topmost}; result is pop'd by
// +-------------------------+<- kNotifyDeopt ASM stub and moved to acc
// | result value |<- reg, as ContinueToBuiltin stub expects.
// +-------------------------+<- spreg
//
void Deoptimizer::DoComputeBuiltinContinuation(
TranslatedFrame* translated_frame, int frame_index,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment