Bug 174781
Summary: | [JSC] ArrayProfile and ValueProfile indice should be stored in unsignedValue in Instruction | ||
---|---|---|---|
Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> |
Component: | JavaScriptCore | Assignee: | Yusuke Suzuki <ysuzuki> |
Status: | NEW | ||
Severity: | Normal | CC: | cgarcia, mark.lam, saam |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Yusuke Suzuki
In UnlinkedCodeBlock, their value should be placed in unsignedValue field.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Yusuke Suzuki
The problem is that StructureForInContext already uses `unsignedValue` field to store array profile and value profile.
However, when using these numbers in CodeBlock, we use `operand` field. That causes undefined behavior. (accessing inactive union member).