Bug 142952

Summary: Fix DO_PROPERTYMAP_CONSTENCY_CHECK enabled build
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: JavaScriptCoreAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, fpizlo, joepeck
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
[PATCH] Proposed Fix ggaren: review+

Description Joseph Pecoraro 2015-03-22 17:32:11 PDT
* SUMMARY
Build error if you enable DO_PROPERTYMAP_CONSTENCY_CHECK. Also move the #if/#else blocks significantly closer together.
Comment 1 Joseph Pecoraro 2015-03-22 17:37:10 PDT
Created attachment 249209 [details]
[PATCH] Proposed Fix

Enabled this and ran all LayoutTests/js tests in a Debug build ran with no asserts.
Comment 2 WebKit Commit Bot 2015-03-22 17:38:43 PDT
Attachment 249209 [details] did not pass style-queue:


ERROR: Source/JavaScriptCore/runtime/Structure.cpp:1206:  One space before end of line comments  [whitespace/comments] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Joseph Pecoraro 2015-03-22 21:16:05 PDT
Comment on attachment 249209 [details]
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=249209&action=review

> Source/JavaScriptCore/runtime/Structure.cpp:1206
> +#endif// DO_PROPERTYMAP_CONSTENCY_CHECK

Style: Oops. I can update this when landing.
Comment 4 Geoffrey Garen 2015-03-23 10:56:38 PDT
Comment on attachment 249209 [details]
[PATCH] Proposed Fix

r=me
Comment 5 Joseph Pecoraro 2015-03-23 13:50:15 PDT
http://trac.webkit.org/changeset/181867