Skip to content

字节码下async+箭头函数的崩溃问题 #27

@chexiongsheng

Description

@chexiongsheng

最小重现代码

// crash
(async () => {
    this.b();
})();

这不算是v8的bug,这是我们用的字节码的codecache+空source字符串优化引发的,因为写v8代码的人没想过有人这么用(因而我们测试过的各v8版本都会崩)。
此issue记录下重现方法。

修复:8698360

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions