• zhengxing.li's avatar
    X87: [generators] Decouple generator resume from fullcodegen. · 0e8d220e
    zhengxing.li authored
      port 974721c6 (r35283)
    
      original commit message:
      Introduce a ResumeGeneratorTrampoline, which does the actual stack state
      reconstruction (currently always restores a fullcodegen frame), and
      introduce appropriate TurboFan builtins for %GeneratorPrototype%.next,
      %GeneratorPrototype%.return and %GeneratorPrototype%.throw based on
      this native builtin.
    
      Also unify the flooding in case of step-in to always work based on
      JSFunction and remove the special casing for JSGeneratorObject.
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1889083002
    
    Cr-Commit-Position: refs/heads/master@{#35510}
    0e8d220e
interface-descriptors-x87.cc 13.4 KB