Index: src/compiler/js-inlining-heuristic.cc |
diff --git a/src/compiler/js-inlining-heuristic.cc b/src/compiler/js-inlining-heuristic.cc |
index e741813845923a4f9688a169a986c9103bfc49e4..26c9b1d33ef082ad947f95bb8cb25679d17bbf9f 100644 |
--- a/src/compiler/js-inlining-heuristic.cc |
+++ b/src/compiler/js-inlining-heuristic.cc |
@@ -109,7 +109,7 @@ Reduction JSInliningHeuristic::Reduce(Node* node) { |
frame_state->opcode() == IrOpcode::kFrameState; |
frame_state = NodeProperties::GetFrameStateInput(frame_state)) { |
FrameStateInfo const& frame_info = OpParameter<FrameStateInfo>(frame_state); |
- if (frame_info.type() == FrameStateType::kJavaScriptFunction) { |
+ if (FrameStateFunctionInfo::IsJSFunctionType(frame_info.type())) { |
if (++level > FLAG_max_inlining_levels) { |
TRACE( |
"Not considering call site #%d:%s, because inlining depth " |