Description[turbofan] Don't call String::Flatten in Constant::ToHeapObject()
The call to String::Flatten can cause garbage collection and in general adds
complexity to the code generation. It also blocks the way to run code generation on worker threads.
The call to String::Flatten in Constant::ToHeapObject() seems not to be necessary
for correctness. If removing this call affects performance negatively, we can revert
this CL.
Committed: https://crrev.com/5d8cfbbd06d04e218a116f9176d278bcd21d9a9b
Cr-Commit-Position: refs/heads/master@{#37422}
Patch Set 1 #
Messages
Total messages: 13 (6 generated)
|