Commit 773c44f4 authored by danno's avatar danno Committed by Commit bot

Fix MSAN build after r34571

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

Cr-Commit-Position: refs/heads/master@{#34576}
parent 998a6e5b
......@@ -417,6 +417,11 @@ StackFrame::Type StackFrame::ComputeType(const StackFrameIteratorBase* iterator,
State* state) {
DCHECK(state->fp != NULL);
#if defined(USE_SIMULATOR)
MSAN_MEMORY_IS_INITIALIZED(
state->fp + CommonFrameConstants::kContextOrFrameTypeOffset,
kPointerSize);
#endif
Object* marker = Memory::Object_at(
state->fp + CommonFrameConstants::kContextOrFrameTypeOffset);
if (!iterator->can_access_heap_objects_) {
......@@ -427,9 +432,7 @@ StackFrame::Type StackFrame::ComputeType(const StackFrameIteratorBase* iterator,
// reliable.
#if defined(USE_SIMULATOR)
MSAN_MEMORY_IS_INITIALIZED(
state->fp + StandardFrameConstants::kContextOffset, kPointerSize);
MSAN_MEMORY_IS_INITIALIZED(
state->fp + StandardFrameConstants::kMarkerOffset, kPointerSize);
state->fp + StandardFrameConstants::kFunctionOffset, kPointerSize);
#endif
Object* maybe_function =
Memory::Object_at(state->fp + StandardFrameConstants::kFunctionOffset);
......
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