Index: runtime/vm/precompiler.h |
diff --git a/runtime/vm/precompiler.h b/runtime/vm/precompiler.h |
index 0d98df2382d7d7ab2da093a7428554d3c4c770cc..da267c0c92570a6e1134a66e1564eb044b32416c 100644 |
--- a/runtime/vm/precompiler.h |
+++ b/runtime/vm/precompiler.h |
@@ -108,7 +108,7 @@ class FunctionKeyValueTrait { |
static Value ValueOf(Pair kv) { return kv; } |
static inline intptr_t Hashcode(Key key) { |
- return key->token_pos(); |
+ return key->token_pos().value(); |
} |
static inline bool IsKeyEqual(Pair pair, Key key) { |
@@ -131,7 +131,7 @@ class FieldKeyValueTrait { |
static Value ValueOf(Pair kv) { return kv; } |
static inline intptr_t Hashcode(Key key) { |
- return key->token_pos(); |
+ return key->token_pos().value(); |
} |
static inline bool IsKeyEqual(Pair pair, Key key) { |