Commit 785d5363 authored by Marja Hölttä's avatar Marja Hölttä Committed by Commit Bot

[cleanup] Add missing _string suffixes

All strings in the internalized string list now have them.

Bug: v8:10506

Change-Id: I68feb34d0dc424465a53ac73a5d6b5297e29dd00
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2218032
Commit-Queue: Marja Hölttä <marja@chromium.org>
Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68014}
parent f126162a
...@@ -89,11 +89,11 @@ Object WaitJsTranslateReturn(Isolate* isolate, Object res) { ...@@ -89,11 +89,11 @@ Object WaitJsTranslateReturn(Isolate* isolate, Object res) {
int val = Smi::ToInt(res); int val = Smi::ToInt(res);
switch (val) { switch (val) {
case WaitReturnValue::kOk: case WaitReturnValue::kOk:
return ReadOnlyRoots(isolate).ok(); return ReadOnlyRoots(isolate).ok_string();
case WaitReturnValue::kNotEqual: case WaitReturnValue::kNotEqual:
return ReadOnlyRoots(isolate).not_equal(); return ReadOnlyRoots(isolate).not_equal_string();
case WaitReturnValue::kTimedOut: case WaitReturnValue::kTimedOut:
return ReadOnlyRoots(isolate).timed_out(); return ReadOnlyRoots(isolate).timed_out_string();
default: default:
UNREACHABLE(); UNREACHABLE();
} }
......
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
V(_, NFD_string, "NFD") \ V(_, NFD_string, "NFD") \
V(_, NFKC_string, "NFKC") \ V(_, NFKC_string, "NFKC") \
V(_, NFKD_string, "NFKD") \ V(_, NFKD_string, "NFKD") \
V(_, not_equal, "not-equal") \ V(_, not_equal_string, "not-equal") \
V(_, null_string, "null") \ V(_, null_string, "null") \
V(_, null_to_string, "[object Null]") \ V(_, null_to_string, "[object Null]") \
V(_, Number_string, "Number") \ V(_, Number_string, "Number") \
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
V(_, object_string, "object") \ V(_, object_string, "object") \
V(_, object_to_string, "[object Object]") \ V(_, object_to_string, "[object Object]") \
V(_, of_string, "of") \ V(_, of_string, "of") \
V(_, ok, "ok") \ V(_, ok_string, "ok") \
V(_, one_string, "1") \ V(_, one_string, "1") \
V(_, other_string, "other") \ V(_, other_string, "other") \
V(_, ownKeys_string, "ownKeys") \ V(_, ownKeys_string, "ownKeys") \
...@@ -305,7 +305,7 @@ ...@@ -305,7 +305,7 @@
V(_, this_function_string, ".this_function") \ V(_, this_function_string, ".this_function") \
V(_, this_string, "this") \ V(_, this_string, "this") \
V(_, throw_string, "throw") \ V(_, throw_string, "throw") \
V(_, timed_out, "timed-out") \ V(_, timed_out_string, "timed-out") \
V(_, toJSON_string, "toJSON") \ V(_, toJSON_string, "toJSON") \
V(_, toString_string, "toString") \ V(_, toString_string, "toString") \
V(_, true_string, "true") \ V(_, true_string, "true") \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment