Use NumberToStringCache by default for Uint32ToString

Bug: v8:7717, chromium:879304
Change-Id: I524a9cf45f6a69efe0445b4ffaddfffc85c5560d
Reviewed-on: https://chromium-review.googlesource.com/1199282
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55545}
This commit is contained in:
Camillo Bruni 2018-08-31 13:12:34 +02:00 committed by Commit Bot
parent ef56902851
commit 6ecca1978e

View File

@ -828,8 +828,7 @@ class V8_EXPORT_PRIVATE Factory {
Handle<String> NumberToString(Handle<Object> number, bool check_cache = true);
Handle<String> NumberToString(Smi* number, bool check_cache = true);
inline Handle<String> Uint32ToString(uint32_t value,
bool check_cache = false);
inline Handle<String> Uint32ToString(uint32_t value, bool check_cache = true);
#define ROOT_ACCESSOR(type, name, camel_name) inline Handle<type> name();
ROOT_LIST(ROOT_ACCESSOR)