| Index: src/compiler/instruction.h
|
| diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h
|
| index f15a0ecfaab11f1a5a8c426b03af571dcbf7d0d2..494c896c9378bb9abf8678dfa800cece5d07ce60 100644
|
| --- a/src/compiler/instruction.h
|
| +++ b/src/compiler/instruction.h
|
| @@ -945,7 +945,7 @@ class FrameStateDescriptor : public ZoneObject {
|
| MaybeHandle<SharedFunctionInfo> shared_info() const { return shared_info_; }
|
| FrameStateDescriptor* outer_state() const { return outer_state_; }
|
| bool HasContext() const {
|
| - return type_ == FrameStateType::kJavaScriptFunction;
|
| + return FrameStateFunctionInfo::IsJSFunctionType(type_);
|
| }
|
|
|
| size_t GetSize(OutputFrameStateCombine combine =
|
|
|