This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/tools/rb/fix_stack_using_bpsyms.py b/tools/rb/fix_stack_using_bpsyms.py | |
| --- a/tools/rb/fix_stack_using_bpsyms.py | |
| +++ b/tools/rb/fix_stack_using_bpsyms.py | |
| @@ -180,17 +180,19 @@ def addressToSymbol(file, address, symbo | |
| p = getSymbolFile(file, symbolsDir) | |
| if p: | |
| return p.addrToSymbol(address) | |
| else: | |
| return "" | |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #----------------------------------------------------------------- | |
| # dmd.py -o dmd2.out dmd-TabsOpenSettled-2-1908.json.gz | |
| Invocation { | |
| $DMD = '--mode=dark-matter --stacks=full' | |
| Mode = 'dark-matter' | |
| } | |
| #----------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/tools/rb/fix_stack_using_bpsyms.py b/tools/rb/fix_stack_using_bpsyms.py | |
| --- a/tools/rb/fix_stack_using_bpsyms.py | |
| +++ b/tools/rb/fix_stack_using_bpsyms.py | |
| @@ -180,21 +180,27 @@ def addressToSymbol(file, address, symbo | |
| p = getSymbolFile(file, symbolsDir) | |
| if p: | |
| return p.addrToSymbol(address) | |
| else: | |
| return "" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/tools/rb/fix_stack_using_bpsyms.py b/tools/rb/fix_stack_using_bpsyms.py | |
| --- a/tools/rb/fix_stack_using_bpsyms.py | |
| +++ b/tools/rb/fix_stack_using_bpsyms.py | |
| @@ -180,21 +180,27 @@ def addressToSymbol(file, address, symbo | |
| p = getSymbolFile(file, symbolsDir) | |
| if p: | |
| return p.addrToSymbol(address) | |
| else: | |
| return "" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/tools/rb/fix_stack_using_bpsyms.py b/tools/rb/fix_stack_using_bpsyms.py | |
| --- a/tools/rb/fix_stack_using_bpsyms.py | |
| +++ b/tools/rb/fix_stack_using_bpsyms.py | |
| @@ -180,21 +180,24 @@ def addressToSymbol(file, address, symbo | |
| p = getSymbolFile(file, symbolsDir) | |
| if p: | |
| return p.addrToSymbol(address) | |
| else: | |
| return "" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function makeExtensibleString() { | |
| var s = "xxxxxxxx"; | |
| var t = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; // 31 characters | |
| var r1 = t + s; | |
| r1.match(/x/); | |
| return r1; | |
| } | |
| function test() { | |
| const s = makeExtensibleString(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function makeExtensibleString() { | |
| var s = "xxxxxxxx"; | |
| var t = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; // 31 characters | |
| var r1 = t + s; | |
| r1.match(/x/); | |
| return r1; | |
| } | |
| function test() { | |
| const s = makeExtensibleString(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function makeExtensibleString() { | |
| var s = "x"; | |
| var t = "yyyyyyyyyyyyyyyyyyytyyyyyy"; | |
| var r1 = t + s; | |
| ensureFlatString(r1); | |
| return r1; | |
| } | |
| function test() { | |
| const s0 = makeExtensibleString(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void JSString::traceBase(JSTracer* trc) { | |
| MOZ_ASSERT(hasBase()); | |
| JSString* oldBase = d.s.u3.base; | |
| if (I am a DependentString) { | |
| base = my base | |
| while (my chars do not come from base) | |
| base = base.base | |
| } | |
| TraceManuallyBarrieredEdge(trc, &d.s.u3.base, "base"); | |
| if (oldBase != d.s.u3.base) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ExtensibleString A -> "blahblah" | |
| UndependedString B | |
| .base -> A | |
| .chars -> "hbl\0" (owned) | |
| DependentString C | |
| .base -> B | |
| .chars -> "b" (from A') |