| Index: src/code-stub-assembler.cc
|
| diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc
|
| index de8669ba3837cd006a01749ecb6fcef13f8ee624..3c437672f5bc0f7cd842aa2da0d924d4f818d8bd 100644
|
| --- a/src/code-stub-assembler.cc
|
| +++ b/src/code-stub-assembler.cc
|
| @@ -8346,16 +8346,14 @@ Node* CodeStubAssembler::AllocatePromiseReactionJobInfo(
|
|
|
| Node* CodeStubAssembler::MarkerIsFrameType(Node* marker_or_function,
|
| StackFrame::Type frame_type) {
|
| - return WordEqual(
|
| - marker_or_function,
|
| - IntPtrConstant(StackFrame::TypeToMarker(StackFrame::ARGUMENTS_ADAPTOR)));
|
| + return WordEqual(marker_or_function,
|
| + IntPtrConstant(StackFrame::TypeToMarker(frame_type)));
|
| }
|
|
|
| Node* CodeStubAssembler::MarkerIsNotFrameType(Node* marker_or_function,
|
| StackFrame::Type frame_type) {
|
| - return WordNotEqual(
|
| - marker_or_function,
|
| - IntPtrConstant(StackFrame::TypeToMarker(StackFrame::ARGUMENTS_ADAPTOR)));
|
| + return WordNotEqual(marker_or_function,
|
| + IntPtrConstant(StackFrame::TypeToMarker(frame_type)));
|
| }
|
|
|
| void CodeStubAssembler::Print(const char* s) {
|
|
|