Searched refs:GetFirstChar (Results 1 – 3 of 3) sorted by relevance
485 if (!string.GetFirstChar().has_value()) return NoChange(); in TryReduceStringComparisonOfStringFromSingleCharCode()486 Node* constant_repl = jsgraph()->Constant(string.GetFirstChar().value()); in TryReduceStringComparisonOfStringFromSingleCharCode()
924 base::Optional<uint16_t> GetFirstChar() const;
1303 base::Optional<uint16_t> StringRef::GetFirstChar() const { return GetChar(0); } in GetFirstChar() function in v8::internal::compiler::StringRef