Index: runtime/vm/exceptions.cc |
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc |
index 99563bb3d07387c1a577b4e3a47cc668214222ad..f5f3e5c96efe1658589edbdba3e66dea632b385b 100644 |
--- a/runtime/vm/exceptions.cc |
+++ b/runtime/vm/exceptions.cc |
@@ -424,7 +424,7 @@ RawInstance* Exceptions::NewInstance(const char* class_name) { |
// Allocate, initialize, and throw a TypeError or CastError. |
// If error_msg is not null, throw a TypeError, even for a type cast. |
-void Exceptions::CreateAndThrowTypeError(intptr_t location, |
+void Exceptions::CreateAndThrowTypeError(TokenDescriptor location, |
const String& src_type_name, |
const String& dst_type_name, |
const String& dst_name, |