[Webkit-unassigned] [Bug 74306] Fix Platform.h settings on non-IOS-simulator platforms

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 12 09:26:07 PST 2011


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


David Kilzer (ddkilzer) <ddkilzer at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #118808|review?, commit-queue?      |review-
               Flag|                            |




--- Comment #2 from David Kilzer (ddkilzer) <ddkilzer at webkit.org>  2011-12-12 09:26:07 PST ---
(From update of attachment 118808)
View in context: https://bugs.webkit.org/attachment.cgi?id=118808&action=review

> Source/JavaScriptCore/wtf/Platform.h:595
>  #if PLATFORM(IOS_SIMULATOR)
> -    #define ENABLE_INTERPRETER 1
> -    #define ENABLE_JIT 0
> -    #define ENABLE_YARR 0
> -    #define ENABLE_YARR_JIT 0
> -#else
> -    #define ENABLE_INTERPRETER 1
> -    #define ENABLE_JIT 1
> -    #define ENABLE_YARR 1
> -    #define ENABLE_YARR_JIT 1
> +#define ENABLE_INTERPRETER 1
> +#define ENABLE_JIT 0
> +#define ENABLE_YARR 0
> +#define ENABLE_YARR_JIT 0
>  #endif

This whole block is inside a #if PLATFORM(IOS)/#endif macro pair.  How are these macros being interpreted by other platforms?

Is there a mismatched #if/[#else/]#endif block above this?

> Source/JavaScriptCore/wtf/Platform.h:597
>  #endif

This is the end of the #if PLATFORM(IOS) macro.

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