• Jakob Gruber's avatar
    [ic] Refactor unary op assembler implementations · e1427aea
    Jakob Gruber authored
    This CL brings unary op assembler structure closer to that of binary
    ops assemblers:
    
    - Decrement, Increment, Negate call into UnaryOpWithFeedback,
    - which takes lambdas specifying smi, float, and bigint logic.
    - BitwiseNot is different in that it still dispatches using
      TaggedToWOrd32OrBigIntWithFeedback.
    - These methods are all implemented in the (hidden)
      UnaryOpAssemblerImpl class.
    - The header only exposes UnaryOpAssembler with the bare minimum of
      API.
    
    The last point is the remaining major divergence from binary op
    assemblers. I just like how this avoids useless implementation details
    in the header.
    
    Bug: v8:8888
    Change-Id: I0ac4695483950356885301234d58c1900904aa92
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2214830
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#68004}
    e1427aea
Name
Last commit
Last update
..
OWNERS Loading commit data...
accessor-assembler.cc Loading commit data...
accessor-assembler.h Loading commit data...
binary-op-assembler.cc Loading commit data...
binary-op-assembler.h Loading commit data...
call-optimization.cc Loading commit data...
call-optimization.h Loading commit data...
handler-configuration-inl.h Loading commit data...
handler-configuration.cc Loading commit data...
handler-configuration.h Loading commit data...
handler-configuration.tq Loading commit data...
ic-inl.h Loading commit data...
ic-stats.cc Loading commit data...
ic-stats.h Loading commit data...
ic.cc Loading commit data...
ic.h Loading commit data...
keyed-store-generic.cc Loading commit data...
keyed-store-generic.h Loading commit data...
stub-cache.cc Loading commit data...
stub-cache.h Loading commit data...
unary-op-assembler.cc Loading commit data...
unary-op-assembler.h Loading commit data...