Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index b4a102b369df9ae812378a36e9e52f894535dcea..34ba2e95617542c16db7b9aee15686dbf15e5e60 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -293,6 +293,8 @@ inline LanguageMode construct_language_mode(bool strict_bit) { |
return static_cast<LanguageMode>(strict_bit); |
} |
+// This constant is used as an undefined value when passing source positions. |
+const int kNoSourcePosition = -1; |
// Mask for the sign bit in a smi. |
const intptr_t kSmiSignMask = kIntptrSignBit; |