| Index: runtime/lib/mirrors.cc
|
| diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc
|
| index 740679677e73b7c07fcff69e05cce55435fdc6df..57e2b3e745264a8e94712374b3f2a7854cd17f46 100644
|
| --- a/runtime/lib/mirrors.cc
|
| +++ b/runtime/lib/mirrors.cc
|
| @@ -145,7 +145,7 @@ static RawInstance* CreateParameterMirrorList(const Function& func,
|
| // * Whether a parameters has been declared as final.
|
| // * Any metadata associated with the parameter.
|
| Object& result = Object::Handle();
|
| - if (func.kernel_function() != NULL) {
|
| + if (func.kernel_offset() > 0) {
|
| result = kernel::BuildParameterDescriptor(func);
|
| } else {
|
| result = Parser::ParseFunctionParameters(func);
|
|
|