Fix MSAN build after r34571
Review URL: https://codereview.chromium.org/1776593002 Cr-Commit-Position: refs/heads/master@{#34576}
This commit is contained in:
parent
998a6e5b92
commit
773c44f4b6
@ -417,6 +417,11 @@ StackFrame::Type StackFrame::ComputeType(const StackFrameIteratorBase* iterator,
|
|||||||
State* state) {
|
State* state) {
|
||||||
DCHECK(state->fp != NULL);
|
DCHECK(state->fp != NULL);
|
||||||
|
|
||||||
|
#if defined(USE_SIMULATOR)
|
||||||
|
MSAN_MEMORY_IS_INITIALIZED(
|
||||||
|
state->fp + CommonFrameConstants::kContextOrFrameTypeOffset,
|
||||||
|
kPointerSize);
|
||||||
|
#endif
|
||||||
Object* marker = Memory::Object_at(
|
Object* marker = Memory::Object_at(
|
||||||
state->fp + CommonFrameConstants::kContextOrFrameTypeOffset);
|
state->fp + CommonFrameConstants::kContextOrFrameTypeOffset);
|
||||||
if (!iterator->can_access_heap_objects_) {
|
if (!iterator->can_access_heap_objects_) {
|
||||||
@ -427,9 +432,7 @@ StackFrame::Type StackFrame::ComputeType(const StackFrameIteratorBase* iterator,
|
|||||||
// reliable.
|
// reliable.
|
||||||
#if defined(USE_SIMULATOR)
|
#if defined(USE_SIMULATOR)
|
||||||
MSAN_MEMORY_IS_INITIALIZED(
|
MSAN_MEMORY_IS_INITIALIZED(
|
||||||
state->fp + StandardFrameConstants::kContextOffset, kPointerSize);
|
state->fp + StandardFrameConstants::kFunctionOffset, kPointerSize);
|
||||||
MSAN_MEMORY_IS_INITIALIZED(
|
|
||||||
state->fp + StandardFrameConstants::kMarkerOffset, kPointerSize);
|
|
||||||
#endif
|
#endif
|
||||||
Object* maybe_function =
|
Object* maybe_function =
|
||||||
Memory::Object_at(state->fp + StandardFrameConstants::kFunctionOffset);
|
Memory::Object_at(state->fp + StandardFrameConstants::kFunctionOffset);
|
||||||
|
Loading…
Reference in New Issue
Block a user