Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Unified Diff: src/globals.h

Issue 2397753003: Revert of [turbofan] inline %StringIteratorPrototype%.next in JSBuiltinReducer. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/verifier.cc ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index 03c5b1dc1a964e70270713e400d8ada1a617d723..407084adc078e71749ecb4a39d46c79c377ccb02 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1241,27 +1241,6 @@
LIVE_EDIT_CURRENTLY_SET_MODE
};
-enum class UnicodeEncoding : uint8_t {
- // Different unicode encodings in a |word32|:
- UTF16, // hi 16bits -> trailing surrogate or 0, low 16bits -> lead surrogate
- UTF32, // full UTF32 code unit / Unicode codepoint
-};
-
-inline size_t hash_value(UnicodeEncoding encoding) {
- return static_cast<uint8_t>(encoding);
-}
-
-inline std::ostream& operator<<(std::ostream& os, UnicodeEncoding encoding) {
- switch (encoding) {
- case UnicodeEncoding::UTF16:
- return os << "UTF16";
- case UnicodeEncoding::UTF32:
- return os << "UTF32";
- }
- UNREACHABLE();
- return os;
-}
-
} // namespace internal
} // namespace v8
« no previous file with comments | « src/compiler/verifier.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698