Bug 142952 - Fix DO_PROPERTYMAP_CONSTENCY_CHECK enabled build
Summary: Fix DO_PROPERTYMAP_CONSTENCY_CHECK enabled build
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-22 17:32 PDT by Joseph Pecoraro
Modified: 2015-03-23 13:50 PDT (History)
3 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (2.16 KB, patch)
2015-03-22 17:37 PDT, Joseph Pecoraro
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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