Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 8bd534a334aed5b1236fe4e0fb570edd0b92332f..05ca9bb349757fa9d1759d2112209c91bdd69e9c 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1249,7 +1249,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 { |