| Index: src/compiler/instruction.cc
|
| diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc
|
| index e3aa1e797af01be469c8bb68b9db11d55c28d154..50644308aea75d9fa1569ed99e49e7b8a630492c 100644
|
| --- a/src/compiler/instruction.cc
|
| +++ b/src/compiler/instruction.cc
|
| @@ -801,7 +801,7 @@ size_t FrameStateDescriptor::GetJSFrameCount() const {
|
| size_t count = 0;
|
| for (const FrameStateDescriptor* iter = this; iter != NULL;
|
| iter = iter->outer_state_) {
|
| - if (iter->type_ == FrameStateType::kJavaScriptFunction) {
|
| + if (FrameStateFunctionInfo::IsJSFunctionType(iter->type_)) {
|
| ++count;
|
| }
|
| }
|
|
|