2013-12-26  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Check the if "kernel" is not a substring
        Issue #381

        Reviewed by Igor.

        Check if "kernel" is not a substring of a valid token, e.g. "akernel" or "__kernel_":
        1) After "kernel" there has to be an empty space.
        2) Before "kernel" there has to be either:
        2.1) two underscore characters or
        2.2) none, i.e. "kernel" is the first string in the program or
        2.3) an empty space.

        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::isEmptySpace):
        (WebCore::isPrecededByUnderscores):
        (WebCore::WebCLKernelArgInfoProvider::ensureInfo):
2013-12-26  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Move WebCLKernelArgInfo and WebCLKernelArgInfoProvider to their own files.

        Reviewed by TrustMe.

        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::kernelName):
        * Modules/webcl/WebCLKernel.h:
        * Modules/webcl/WebCLKernelArgInfo.h: Copied from Source/WebCore/Modules/webcl/WebCLKernelArgInfoProvider.h.
        (WebCore::WebCLKernelArgInfo::WebCLKernelArgInfo):
        (WebCore::WebCLKernelArgInfo::name):
        (WebCore::WebCLKernelArgInfo::typeName):
        (WebCore::WebCLKernelArgInfo::addressQualifier):
        (WebCore::WebCLKernelArgInfo::accessQualifier):
        * Modules/webcl/WebCLKernelArgInfoProvider.cpp:
        * Modules/webcl/WebCLKernelArgInfoProvider.h:
        * Modules/webcl/WebCLObject.h:
        * WebCore.xcodeproj/project.pbxproj: