| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index e906682267227c922b941ea4015620ecfd4fdb2a..99114bfa602fbc14abd72f2f7cf6b5d3e85be353 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -326,11 +326,12 @@ bool UseTurboFan(Handle<SharedFunctionInfo> shared) {
|
| must_use_ignition_turbo && strcmp(FLAG_turbo_filter, "~~") == 0 &&
|
| !optimization_disabled;
|
|
|
| - // 3. Explicitly enabled by the command-line filter.
|
| - bool passes_turbo_filter = shared->PassesFilter(FLAG_turbo_filter);
|
| + // 3. Explicitly enabled by the command-line filter which is not "*".
|
| + bool passes_explicit_turbo_filter =
|
| + (FLAG_turbo_filter[0] != '*') && shared->PassesFilter(FLAG_turbo_filter);
|
|
|
| return is_turbofanable_asm || is_unsupported_by_crankshaft_but_turbofanable ||
|
| - passes_turbo_filter;
|
| + passes_explicit_turbo_filter;
|
| }
|
|
|
| bool ShouldUseIgnition(CompilationInfo* info) {
|
|
|