[Webkit-unassigned] [Bug 132683] [Win] Crash when enabling DFG JIT.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 8 12:17:28 PDT 2014


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





--- Comment #3 from peavo at outlook.com  2014-05-08 12:17:50 PST ---
I've tested the following code with MSVC which demonstrates the problem:

class A
{
public:
    A(int i) {}
};

void testfunc(void* p)
{
}

void testfunc(A a)
{
}

testfunc(0); // Invokes testfunc(void* p)
testfunc(1); // Invokes testfunc(A a)

When calling testfunc with 0, testfunc(void* p) is called.
When calling testfunc with 1, testfunc(A a) is called.

I'm not sure what the standard says here, it might be a compiler bug.
I assume GCC will call testfunc(A a) in both cases here.

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