| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index aada244f7fad8f09c7e8a772a45afaced9858dba..caedf9f8b4ed5ac89a907e436fba8f487daf01fb 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -442,6 +442,8 @@ void EnsureFeedbackMetadata(CompilationInfo* info) {
|
| }
|
|
|
| bool ShouldUseIgnition(CompilationInfo* info) {
|
| + if (!FLAG_ignition) return false;
|
| +
|
| DCHECK(info->has_shared_info());
|
|
|
| // When requesting debug code as a replacement for existing code, we provide
|
| @@ -484,7 +486,7 @@ bool GenerateUnoptimizedCode(CompilationInfo* info) {
|
| return true;
|
| }
|
| }
|
| - if (FLAG_ignition && ShouldUseIgnition(info)) {
|
| + if (ShouldUseIgnition(info)) {
|
| success = interpreter::Interpreter::MakeBytecode(info);
|
| } else {
|
| success = FullCodeGenerator::MakeCode(info);
|
|
|