Index: runtime/vm/exceptions.h |
diff --git a/runtime/vm/exceptions.h b/runtime/vm/exceptions.h |
index 4282bb50e2cfa97d9f38ad6c4053dff0a797f4b0..179d88470eabef775c08e25690fe3634b42145fe 100644 |
--- a/runtime/vm/exceptions.h |
+++ b/runtime/vm/exceptions.h |
@@ -6,6 +6,7 @@ |
#define VM_EXCEPTIONS_H_ |
#include "vm/allocation.h" |
+#include "vm/token_descriptor.h" |
namespace dart { |
@@ -42,7 +43,7 @@ class Exceptions : AllStatic { |
static RawStacktrace* CurrentStacktrace(); |
static RawScript* GetCallerScript(DartFrameIterator* iterator); |
static RawInstance* NewInstance(const char* class_name); |
- static void CreateAndThrowTypeError(intptr_t location, |
+ static void CreateAndThrowTypeError(TokenDescriptor location, |
const String& src_type_name, |
const String& dst_type_name, |
const String& dst_name, |