Fix IterateCompiledFrame for embedded constant pools.
Do not visit the constant pool pointer frame slot. TEST=cctest/test-api/Regress137496 --ignition R=danno@chromium.org, mcilroy@chromium.org, bjaideep@ca.ibm.com BUG= Review-Url: https://codereview.chromium.org/1950623002 Cr-Commit-Position: refs/heads/master@{#36028}
This commit is contained in:
parent
e8e9c07e54
commit
88877e5519
@ -718,7 +718,8 @@ void StandardFrame::IterateCompiledFrame(ObjectVisitor* v) const {
|
||||
(frame_header_size + StandardFrameConstants::kFixedFrameSizeAboveFp);
|
||||
|
||||
Object** frame_header_base = &Memory::Object_at(fp() - frame_header_size);
|
||||
Object** frame_header_limit = &Memory::Object_at(fp());
|
||||
Object** frame_header_limit =
|
||||
&Memory::Object_at(fp() - StandardFrameConstants::kCPSlotSize);
|
||||
Object** parameters_base = &Memory::Object_at(sp());
|
||||
Object** parameters_limit = frame_header_base - slot_space / kPointerSize;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user