| Index: src/deoptimizer.cc
|
| diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
|
| index 9363551a425133c9805b82ca6c60a9b5dff0adcb..32a17a5de7d8a00f2b18a6071720db4698880ce9 100644
|
| --- a/src/deoptimizer.cc
|
| +++ b/src/deoptimizer.cc
|
| @@ -568,7 +568,7 @@ Code* Deoptimizer::FindOptimizedCode(JSFunction* function,
|
|
|
|
|
| void Deoptimizer::PrintFunctionName() {
|
| - if (function_->IsJSFunction()) {
|
| + if (function_ != nullptr && function_->IsJSFunction()) {
|
| function_->ShortPrint(trace_scope_->file());
|
| } else {
|
| PrintF(trace_scope_->file(),
|
|
|