Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2010-10-18 Oliver Hunt <oliver@apple.com>
Reviewed by Sam Weinig. Strict mode: JIT doesn't check for |this| being an immediate before dereferencing https://bugs.webkit.org/show_bug.cgi?id=47826 There's no guarantee that |this| will be a cell in a strict mode function, so don't claim that it is. * bytecode/CodeBlock.h: (JSC::CodeBlock::isKnownNotImmediate): 2010-10-18 Oliver Hunt <oliver@apple.com> Reviewed by Sam Weinig. Strict mode: JIT doesn't check for |this| being an immediate before dereferencing https://bugs.webkit.org/show_bug.cgi?id=47826 Add tests for accessing properties on |this| when |this| is not an object * fast/js/basic-strict-mode-expected.txt: * fast/js/script-tests/basic-strict-mode.js: (testThisDotAccess): (testThisBracketAccess): Canonical link: https://commits.webkit.org/60531@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
5 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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