[Webkit-unassigned] [Bug 114018] Crash due to an assertion in AbstractMacroAssembler.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 17 09:27:19 PDT 2013


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





--- Comment #4 from Filip Pizlo <fpizlo at apple.com>  2013-05-17 09:25:46 PST ---
(From update of attachment 196610)
View in context: https://bugs.webkit.org/attachment.cgi?id=196610&action=review

> Source/JavaScriptCore/dfg/DFGSpeculativeJIT.h:906
> -        m_jit.setupArgumentsWithExecState(object, TrustedImmPtr(size));
> +        m_jit.setupArgumentsWithExecState(object, TrustedImmPtr(static_cast<size_t>(size)));

Wouldn't it be better to just change this to use TrustedImm32?

> Source/JavaScriptCore/dfg/DFGSpeculativeJIT.h:1303
> -        m_jit.setupArgumentsWithExecState(object, TrustedImmPtr(size));
> +        m_jit.setupArgumentsWithExecState(object, TrustedImmPtr(static_cast<size_t>(size)));

Ditto.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list