• bmeurer's avatar
    Revert of Externalize deoptimization reasons. (patchset #7 id:120001 of... · 368a503c
    bmeurer authored
    Revert of Externalize deoptimization reasons. (patchset #7 id:120001 of https://codereview.chromium.org/874323003/)
    
    Reason for revert:
    This CL breaks RelocInfo::INTERNAL_REFERENCE (and maybe others that come after DEOPT_REASON), which is currently (mostly) unused on tip-of-tree, but will be used for jump tables soon(ish) and should therefore work. It seems to be a problem with implicitly assumptions about the number of reloc info modes. Needs further investigation.
    
    Original issue's description:
    > Externalize deoptimization reasons.
    >
    > 1) The hardcoded strings were converted into DeoptReason enum.
    >
    > 2) Deopt comment were converted into a pair location and deopt reason entries so
    > the deopt reason tracking mode would less affect the size of the RelocInfo table and heap.
    >
    > 3) DeoptReason entry in RelocInfo reuses kCommentTag value and generates short entry in RelocInfo table.
    >
    > BUG=452067
    > LOG=n
    >
    > Committed: https://crrev.com/c49820e45b57f128a98690940875c049f612dde6
    > Cr-Commit-Position: refs/heads/master@{#26434}
    >
    > Committed: https://crrev.com/ec42e002da03adb2db968dd5b7453341ddc59a5c
    > Cr-Commit-Position: refs/heads/master@{#26448}
    
    TBR=alph@chromium.org,mstarzinger@chromium.org,svenpanne@chromium.org,yurys@chromium.org,loislo@chromium.org
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    BUG=452067
    
    Review URL: https://codereview.chromium.org/900223002
    
    Cr-Commit-Position: refs/heads/master@{#26457}
    368a503c
Name
Last commit
Last update
..
OWNERS Loading commit data...
assembler-mips-inl.h Loading commit data...
assembler-mips.cc Loading commit data...
assembler-mips.h Loading commit data...
builtins-mips.cc Loading commit data...
code-stubs-mips.cc Loading commit data...
code-stubs-mips.h Loading commit data...
codegen-mips.cc Loading commit data...
codegen-mips.h Loading commit data...
constants-mips.cc Loading commit data...
constants-mips.h Loading commit data...
cpu-mips.cc Loading commit data...
debug-mips.cc Loading commit data...
deoptimizer-mips.cc Loading commit data...
disasm-mips.cc Loading commit data...
frames-mips.cc Loading commit data...
frames-mips.h Loading commit data...
full-codegen-mips.cc Loading commit data...
interface-descriptors-mips.cc Loading commit data...
lithium-codegen-mips.cc Loading commit data...
lithium-codegen-mips.h Loading commit data...
lithium-gap-resolver-mips.cc Loading commit data...
lithium-gap-resolver-mips.h Loading commit data...
lithium-mips.cc Loading commit data...
lithium-mips.h Loading commit data...
macro-assembler-mips.cc Loading commit data...
macro-assembler-mips.h Loading commit data...
regexp-macro-assembler-mips.cc Loading commit data...
regexp-macro-assembler-mips.h Loading commit data...
simulator-mips.cc Loading commit data...
simulator-mips.h Loading commit data...