| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 991466d6131c73262c00af185d7bf0cb01929e3f..dc2e487f7e03e0161626046916a8ef8301686769 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -8298,22 +8298,6 @@ String::FlatContent String::GetFlatContent() {
|
| }
|
|
|
|
|
| -template <>
|
| -Vector<const uint8_t> String::GetCharVector() {
|
| - String::FlatContent flat = GetFlatContent();
|
| - DCHECK(flat.IsOneByte());
|
| - return flat.ToOneByteVector();
|
| -}
|
| -
|
| -
|
| -template <>
|
| -Vector<const uc16> String::GetCharVector() {
|
| - String::FlatContent flat = GetFlatContent();
|
| - DCHECK(flat.IsTwoByte());
|
| - return flat.ToUC16Vector();
|
| -}
|
| -
|
| -
|
| SmartArrayPointer<char> String::ToCString(AllowNullsFlag allow_nulls,
|
| RobustnessFlag robust_flag,
|
| int offset,
|
|
|