Commit 39150614 authored by zherczeg@webkit.org's avatar zherczeg@webkit.org

[Qt]REGRESSION(r95912): It made sputnik tests flakey

https://bugs.webkit.org/show_bug.cgi?id=68990

Reviewed by Geoffrey Garen.

Changing signed char to int in r96354 solved the
problem. However transitionCount still returns
with a signed char and should be changed to int.

* runtime/Structure.h:
(JSC::Structure::transitionCount):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f18d7e82
2011-10-02 Zoltan Herczeg <zherczeg@webkit.org>
[Qt]REGRESSION(r95912): It made sputnik tests flakey
https://bugs.webkit.org/show_bug.cgi?id=68990
Reviewed by Geoffrey Garen.
Changing signed char to int in r96354 solved the
problem. However transitionCount still returns
with a signed char and should be changed to int.
* runtime/Structure.h:
(JSC::Structure::transitionCount):
2011-10-02 Filip Pizlo <fpizlo@apple.com>
DFG misses some obvious opportunities for common subexpression elimination
......@@ -229,7 +229,7 @@ namespace JSC {
materializePropertyMap(globalData);
}
signed char transitionCount() const
int transitionCount() const
{
// Since the number of transitions is always the same as m_offset, we keep the size of Structure down by not storing both.
return m_offset == noOffset ? 0 : m_offset + 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment