| Index: runtime/vm/code_generator.cc
|
| diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc
|
| index 2b492340c55e2217d451b92ad34f75eeba2ed591..008673f980544c87b1ea4eac0dd6b2e186b4b757 100644
|
| --- a/runtime/vm/code_generator.cc
|
| +++ b/runtime/vm/code_generator.cc
|
| @@ -1379,7 +1379,7 @@ DEFINE_RUNTIME_ENTRY(ReportObjectNotClosure, 2) {
|
| if (instance.IsNull()) {
|
| dart_arguments.Add(&function_name);
|
| dart_arguments.Add(&function_args);
|
| - Exceptions::ThrowByType(Exceptions::kNullThrown, dart_arguments);
|
| + Exceptions::ThrowByType(Exceptions::kNullPointer, dart_arguments);
|
| UNREACHABLE();
|
| }
|
|
|
|
|