Changeset 249362 in webkit


Ignore:
Timestamp:
Aug 31, 2019 4:31:33 AM (5 years ago)
Author:
ysuzuki@apple.com
Message:

[JSC] LLInt op should not emit the same code three times
https://bugs.webkit.org/show_bug.cgi?id=201370

Reviewed by Mark Lam.

LLInt op macro (not llintOp macro) is used to generate some stub code like llint_program_prologue.
But now it generates the same code three times for narrow, wide16, and wide32. We should emit code only once.

  • llint/LowLevelInterpreter.asm:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r249347 r249362  
     12019-08-30  Yusuke Suzuki  <ysuzuki@apple.com>
     2
     3        [JSC] LLInt op should not emit the same code three times
     4        https://bugs.webkit.org/show_bug.cgi?id=201370
     5
     6        Reviewed by Mark Lam.
     7
     8        LLInt op macro (not llintOp macro) is used to generate some stub code like llint_program_prologue.
     9        But now it generates the same code three times for narrow, wide16, and wide32. We should emit code only once.
     10
     11        * llint/LowLevelInterpreter.asm:
     12
    1132019-08-30  Mark Lam  <mark.lam@apple.com>
    214
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter.asm

    r246451 r249362  
    387387
    388388macro op(l, fn)
    389     commonOp(l, macro () end, macro (unused)
    390         fn()
     389    commonOp(l, macro () end, macro (size)
     390        size(fn, macro() end, macro() end, macro(gen) gen() end)
    391391    end)
    392392end
Note: See TracChangeset for help on using the changeset viewer.