• Christian O. Andersson's avatar
    [ignition] Optimizing Smi only comparisons · 894b95fe
    Christian O. Andersson authored
    There are various situations where we explicitly compare a SMI against
    another SMI (e.g., BuildIndexedJump). This is also a common pattern for
    generated code (e.g., comparing a loop variable with an integer). Instead
    of using the generic equality/strict-equality stub for this, which is
    expensive, this CL offers a simple comparison stub, repurposing the
    TestEqualStrictNoFeedback bytecode to TestReferenceEqual
    
    Bug: v8:5310
    Change-Id: Ib2b47cd24d5386cf0d20d3bd794776dc6e3a02a5
    Reviewed-on: https://chromium-review.googlesource.com/1007542Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Commit-Queue: Christian O. Andersson <cricke@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#52655}
    894b95fe
StaticClassFields.golden 11 KB