| Index: src/compiler/instruction.h
|
| diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h
|
| index 7f202135a2a20ed8b4e480d276dd698e4b1d9eb2..a87ef7dc9c469f865919aeef34a79fbaacb5e033 100644
|
| --- a/src/compiler/instruction.h
|
| +++ b/src/compiler/instruction.h
|
| @@ -877,7 +877,9 @@ class FrameStateDescriptor : public ZoneObject {
|
| size_t stack_count() const { return stack_count_; }
|
| MaybeHandle<SharedFunctionInfo> shared_info() const { return shared_info_; }
|
| FrameStateDescriptor* outer_state() const { return outer_state_; }
|
| - bool HasContext() const { return type_ == JS_FRAME; }
|
| + bool HasContext() const {
|
| + return type_ == FrameStateType::kJavaScriptFunction;
|
| + }
|
|
|
| size_t GetSize(OutputFrameStateCombine combine =
|
| OutputFrameStateCombine::Ignore()) const;
|
|
|