Description[Parser] Introduce AstStringConstants to share constants across AstValueFactory
Creates an AstStringConstants container which pre-initializes the
string constants used by AstValueFactory. This ensures that all
AstValueFactories will produce the same AstValue objects for constants,
and so they can be used by the BytecodeGenerator without having to pass
the AstValueFactory to it, enabling construction off-thread.
BUG=v8:5203
Review-Url: https://codereview.chromium.org/2630343002
Cr-Original-Commit-Position: refs/heads/master@{#42381}
Committed: https://chromium.googlesource.com/v8/v8/+/d611496b8ed30af787d8668f96b400617c858508
Review-Url: https://codereview.chromium.org/2630343002
Cr-Commit-Position: refs/heads/master@{#42394}
Committed: https://chromium.googlesource.com/v8/v8/+/5883bf21253efaa591420bfcdc2f5a5eb6b68ce4
Patch Set 1 #
Total comments: 8
Patch Set 2 : Address comments #Patch Set 3 : Add comment #Patch Set 4 : Fix test #
Dependent Patchsets: Messages
Total messages: 32 (17 generated)
|