| Index: runtime/vm/native_entry.h
|
| diff --git a/runtime/vm/native_entry.h b/runtime/vm/native_entry.h
|
| index f33a625103b0fc475ed10d5e1502c13383434d5d..7e5559935e2ea98b104fab9050471babdad3cddf 100644
|
| --- a/runtime/vm/native_entry.h
|
| +++ b/runtime/vm/native_entry.h
|
| @@ -59,7 +59,7 @@ typedef void (*NativeFunction)(NativeArguments* arguments);
|
| if (!__##name##_instance__.Is##type()) { \
|
| GrowableArray<const Object*> __args__; \
|
| __args__.Add(&__##name##_instance__); \
|
| - Exceptions::ThrowByType(Exceptions::kIllegalArgument, __args__); \
|
| + Exceptions::ThrowByType(Exceptions::kArgument, __args__); \
|
| } \
|
| const type& name = type::Cast(__##name##_instance__);
|
|
|
|
|