Index: src/runtime-profiler.cc |
diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc |
index 9e011fe6630b2906a805847c088438d321f9c1a3..fb05690b91e29844c1cba6b01a12fc3427a0b6a0 100644 |
--- a/src/runtime-profiler.cc |
+++ b/src/runtime-profiler.cc |
@@ -404,7 +404,7 @@ void RuntimeProfiler::MarkCandidatesForOptimization() { |
Compiler::CompilationTier next_tier = |
Compiler::NextCompilationTier(function); |
- if (function->shared()->HasBytecodeArray()) { |
+ if (function->shared()->code()->is_interpreter_trampoline_builtin()) { |
if (next_tier == Compiler::BASELINE) { |
MaybeBaselineIgnition(function, frame); |
} else { |