• Jakob Gruber's avatar
    [compiler] Rename type BailoutId to BytecodeOffset · 727d22be
    Jakob Gruber authored
    This reflects the actual contents of the type, which is an offset into
    the bytecode (or certain marker values). Historically, in the days of
    FCG the bailout id used to refer to node ids - this is why certain
    tracing output still calls the bailout id 'node id' and 'ast id'.
    These spots will be fixed in a follow-up CL.
    
    This change is mechanical:
    
     git grep -l BailoutId | while read f; do \
      sed -i 's/BailoutId/BytecodeOffset/g' $f; done
    
    With a manual component of updating the DeoptimizationData method
    name from 'BytecodeOffset' to 'GetBytecodeOffset'.
    
    Bug: v8:11332
    Change-Id: I956b947a480bf52263159c0eb1e895360bcbe6d2
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2639754
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
    Reviewed-by: 's avatarMythri Alle <mythria@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#72189}
    727d22be
serializer-for-background-compilation.h 1.15 KB