• svenpanne's avatar
    Fixed an ordering issue found by UBSan_vptr. · 7c42ae3e
    svenpanne authored
    We managed to access the scope_ member of CompilationInfo before its
    containing object was actually constructed.
    
    Rule of thumb: When constructing an object, never ever pass around
    pointers to members which come later in the member initializer list,
    you simply can't see locally if this might cause trouble or not.
    
    Review URL: https://codereview.chromium.org/796363002
    
    Cr-Commit-Position: refs/heads/master@{#25796}
    7c42ae3e
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...