Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index bf7702be4f51558e920372fb4bd90d9942a36e33..d893b09f52b1b56aed0fb23a3c02049c29d9634e 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1368,7 +1368,7 @@ bool Compiler::EnsureDeoptimizationSupport(CompilationInfo* info) { |
// static |
Compiler::CompilationTier Compiler::NextCompilationTier(JSFunction* function) { |
Handle<SharedFunctionInfo> shared(function->shared(), function->GetIsolate()); |
- if (shared->code()->is_interpreter_trampoline_builtin()) { |
+ if (shared->IsInterpreted()) { |
if (UseTurboFan(shared)) { |
return OPTIMIZED; |
} else { |