| Index: runtime/vm/compiler.cc
|
| diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
|
| index f5a702a4b622834bf5e2607a3194e15aef3ed489..5f88c665aeae36cb22e6b178b77d21b05d63fca2 100644
|
| --- a/runtime/vm/compiler.cc
|
| +++ b/runtime/vm/compiler.cc
|
| @@ -115,9 +115,11 @@ DECLARE_FLAG(bool, trace_irregexp);
|
|
|
| bool UseKernelFrontEndFor(ParsedFunction* parsed_function) {
|
| const Function& function = parsed_function->function();
|
| + // TODO(regis): Kernel Front End needs to allocate a local to hold type args.
|
| return (function.kernel_offset() > 0) ||
|
| - (function.kind() == RawFunction::kNoSuchMethodDispatcher) ||
|
| - (function.kind() == RawFunction::kInvokeFieldDispatcher);
|
| + (!FLAG_reify_generic_functions &&
|
| + ((function.kind() == RawFunction::kNoSuchMethodDispatcher) ||
|
| + (function.kind() == RawFunction::kInvokeFieldDispatcher)));
|
| }
|
|
|
|
|
|
|