[Webkit-unassigned] [Bug 117349] New: ARM/JIT: tab access by a var returns sometimes undefined object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 7 08:13:50 PDT 2013


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

           Summary: ARM/JIT: tab access by a var returns sometimes
                    undefined object
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: scerveau at connected-labs.com
                CC: oliver at apple.com, fpizlo at apple.com


A tab of object returns sometimes an undefined object when this tab is accessed by a var containing the identifying string. This bug occurs only when the assignation is done in function in the first line. This bug only occurs on ARM-V7 platform with JIT enabled.

Ex:

function setShader(name){
   currentProgram = shaderProgram[name];
}

In this case name is always the same string 'string'.

CurrentProgram will be sometimes undefined.

It does not fail when currentProgram= shaderProgram['string'] 

It does not fail if an instruction is done before like

var iterator;
function setShader(name){
   iterator++;
   currentProgram = shaderProgram[name];
}

-- 
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