Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 4efccc8bb908089ea94957b8b6e798cb21da47ef..b453c1b33e178bd4de787f371566fa2286c28285 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -1231,6 +1231,12 @@ enum LiveEditFrameDropMode { |
LIVE_EDIT_CURRENTLY_SET_MODE |
}; |
+enum class UnicodeEncoding { |
+ // Different unicode encodings in a |word32|: |
+ UTF16, // hi 16bits -> trailing surrogate or 0, low 16bits -> lead surrogate |
+ UTF32, // full UTF32 code unit / Unicode codepoint |
+}; |
+ |
} // namespace internal |
} // namespace v8 |