Summary: | Don't check for constant registers when we can guarantee that the register won't be in the constant pool | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Oliver Hunt <oliver> | ||||
Component: | New Bugs | Assignee: | Oliver Hunt <oliver> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ggaren | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Other | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Oliver Hunt
2010-11-19 11:02:41 PST
Created attachment 74405 [details]
Patch
Comment on attachment 74405 [details]
Patch
Don’t we want an assertion in debug builds?
+ Add uncheckedR(int) to CallFrame, and replace all the uses of r() with uncheckedR(). You didn't replace all uses -- just the known non-constant uses. Comment on attachment 74405 [details]
Patch
r=me on a patch that fixes these two issues.
Committed r72442: <http://trac.webkit.org/changeset/72442> |