Skip to content

Commit 785d536

Browse files
marjakhCommit Bot
authored andcommitted
[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: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/master@{#68014}
1 parent f126162 commit 785d536

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/execution/futex-emulation.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ Object WaitJsTranslateReturn(Isolate* isolate, Object res) {
8989
int val = Smi::ToInt(res);
9090
switch (val) {
9191
case WaitReturnValue::kOk:
92-
return ReadOnlyRoots(isolate).ok();
92+
return ReadOnlyRoots(isolate).ok_string();
9393
case WaitReturnValue::kNotEqual:
94-
return ReadOnlyRoots(isolate).not_equal();
94+
return ReadOnlyRoots(isolate).not_equal_string();
9595
case WaitReturnValue::kTimedOut:
96-
return ReadOnlyRoots(isolate).timed_out();
96+
return ReadOnlyRoots(isolate).timed_out_string();
9797
default:
9898
UNREACHABLE();
9999
}

src/init/heap-symbols.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
V(_, NFD_string, "NFD") \
244244
V(_, NFKC_string, "NFKC") \
245245
V(_, NFKD_string, "NFKD") \
246-
V(_, not_equal, "not-equal") \
246+
V(_, not_equal_string, "not-equal") \
247247
V(_, null_string, "null") \
248248
V(_, null_to_string, "[object Null]") \
249249
V(_, Number_string, "Number") \
@@ -253,7 +253,7 @@
253253
V(_, object_string, "object") \
254254
V(_, object_to_string, "[object Object]") \
255255
V(_, of_string, "of") \
256-
V(_, ok, "ok") \
256+
V(_, ok_string, "ok") \
257257
V(_, one_string, "1") \
258258
V(_, other_string, "other") \
259259
V(_, ownKeys_string, "ownKeys") \
@@ -305,7 +305,7 @@
305305
V(_, this_function_string, ".this_function") \
306306
V(_, this_string, "this") \
307307
V(_, throw_string, "throw") \
308-
V(_, timed_out, "timed-out") \
308+
V(_, timed_out_string, "timed-out") \
309309
V(_, toJSON_string, "toJSON") \
310310
V(_, toString_string, "toString") \
311311
V(_, true_string, "true") \

0 commit comments

Comments
 (0)