-
- Downloads
Bug 1604952 - Change ownership of RegExpCreationData by holding them on...
Bug 1604952 - Change ownership of RegExpCreationData by holding them on frontend::ParseInfo r=tcampbell By doing this we guarantee RegExpCreationData are cleaned up, avoiding a possible leak where dead code elimination removes a ParseNode without cleaning up the RegExpCreationData. Differential Revision: https://phabricator.services.mozilla.com/D57904 --HG-- extra : moz-landing-system : lando
Showing
- js/src/builtin/ReflectParse.cpp 2 additions, 1 deletionjs/src/builtin/ReflectParse.cpp
- js/src/frontend/BytecodeSection.cpp 7 additions, 3 deletionsjs/src/frontend/BytecodeSection.cpp
- js/src/frontend/BytecodeSection.h 9 additions, 7 deletionsjs/src/frontend/BytecodeSection.h
- js/src/frontend/FullParseHandler.h 3 additions, 2 deletionsjs/src/frontend/FullParseHandler.h
- js/src/frontend/ParseInfo.h 6 additions, 1 deletionjs/src/frontend/ParseInfo.h
- js/src/frontend/ParseNode.cpp 3 additions, 2 deletionsjs/src/frontend/ParseNode.cpp
- js/src/frontend/ParseNode.h 7 additions, 10 deletionsjs/src/frontend/ParseNode.h
- js/src/frontend/Parser.cpp 4 additions, 10 deletionsjs/src/frontend/Parser.cpp
- js/src/frontend/Stencil.h 14 additions, 0 deletionsjs/src/frontend/Stencil.h
- js/src/jit-test/tests/parser/bug1604952.js 4 additions, 0 deletionsjs/src/jit-test/tests/parser/bug1604952.js
- js/src/vm/JSScript.cpp 2 additions, 1 deletionjs/src/vm/JSScript.cpp
Loading
Please register or sign in to comment