2014-05-02  Sharath Kamath  <s.kamath@samsung.com>

        Update kernel parser to provide type information as bool values.

        Issue #516

        Reviewed by Antonio.

        Currently we store the type name as string which needs to be compared with
        the data type sent by user to validate the value against the kernel values.
        Since setArg is called in loops, string comparison can slow down the program.

        Instead we can store the type as a enum, with all types stored during parsing
        into the enum.

        Also since "*" in the data type is needed to check if the kernel needs a buffer or
        simple data type, retaining it with the typeName. It is discarded later to make WebCLKernelArgInfo in par with specification.

        No new tests.

        * Modules/webcl/WebCLKernelArgInfo.h:
        (WebCore::WebCLKernelArgInfo::create):
        (WebCore::WebCLKernelArgInfo::type):
        (WebCore::WebCLKernelArgInfo::WebCLKernelArgInfo):
        * Modules/webcl/WebCLKernelArgInfoProvider.cpp:
        (WebCore::isASCIILineBreakCharacter):
        (WebCore::isStarCharacter):
        (WebCore::WebCLKernelArgInfoProvider::ensureInfo):
        (WebCore::extractTypeEnum):
        (WebCore::WebCLKernelArgInfoProvider::parseAndAppendDeclaration):