• Peter Kasting's avatar
    Fix -Wdeprecated-copy in V8. · 2af5cfa8
    Peter Kasting authored
    TNode has a templated constructor from TNode<U>, but this doesn't take
    precedence over the auto-generated copy constructor, which results in a
    warning being fired.  Fix by adding an explicit copy constructor that
    does what the templated constructor does, which in turn requires fixing
    some missing #includes that slipped by due to the lack of
    LazyTemplateChecks() in the autogenerated copy constructor.
    
    Bug: chromium:1213098
    Change-Id: Iad40950261af8f88396be9227355e4e013837341
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2953503Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
    Commit-Queue: Peter Kasting <pkasting@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#75133}
    2af5cfa8
code-stub-assembler.h 197 KB