Bug 135421 - Static hash tables no longer need to be coupled with a VM.
Summary: Static hash tables no longer need to be coupled with a VM.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-30 10:52 PDT by Andreas Kling
Modified: 2014-07-30 23:43 PDT (History)
5 users (show)

See Also:


Attachments
Patch (191.38 KB, patch)
2014-07-30 13:50 PDT, Andreas Kling
ggaren: review+
Details | Formatted Diff | Diff
Patch for landing (196.25 KB, patch)
2014-07-30 14:10 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff
Patch for landing (197.17 KB, patch)
2014-07-30 14:28 PDT, Andreas Kling
commit-queue: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2014-07-30 10:52:18 PDT
createTable(VM&) does nothing with the VM. We can remove the argument and get rid of some code.
Comment 1 Andreas Kling 2014-07-30 13:38:23 PDT
Oh man, this is snowballing..
Comment 2 Andreas Kling 2014-07-30 13:50:28 PDT
Created attachment 235759 [details]
Patch
Comment 3 WebKit Commit Bot 2014-07-30 13:52:03 PDT
Attachment 235759 [details] did not pass style-queue:


ERROR: Source/WebCore/bindings/js/JSStorageCustom.cpp:67:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Source/JavaScriptCore/runtime/JSTypedArrays.cpp:38:  preprocessor directives (e.g., #ifdef, #define, #import) should never be indented.  [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp:79:  Bad include order. Mixing system and custom headers.  [build/include_order] [4]
Total errors found: 3 in 145 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Geoffrey Garen 2014-07-30 13:58:52 PDT
Comment on attachment 235759 [details]
Patch

r=me
Comment 5 Andreas Kling 2014-07-30 14:10:23 PDT
Created attachment 235760 [details]
Patch for landing

With build system fixes for other ports..
Comment 6 WebKit Commit Bot 2014-07-30 14:13:13 PDT
Attachment 235760 [details] did not pass style-queue:


ERROR: Source/WebCore/bindings/js/JSStorageCustom.cpp:67:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Source/JavaScriptCore/runtime/JSTypedArrays.cpp:38:  preprocessor directives (e.g., #ifdef, #define, #import) should never be indented.  [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp:79:  Bad include order. Mixing system and custom headers.  [build/include_order] [4]
Total errors found: 3 in 147 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 Andreas Kling 2014-07-30 14:28:49 PDT
Created attachment 235762 [details]
Patch for landing

With win buildfix.
Comment 8 WebKit Commit Bot 2014-07-30 14:31:28 PDT
Attachment 235762 [details] did not pass style-queue:


ERROR: Source/WebCore/bindings/js/JSStorageCustom.cpp:67:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Source/JavaScriptCore/runtime/JSTypedArrays.cpp:38:  preprocessor directives (e.g., #ifdef, #define, #import) should never be indented.  [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp:79:  Bad include order. Mixing system and custom headers.  [build/include_order] [4]
Total errors found: 3 in 148 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 9 Darin Adler 2014-07-30 14:41:20 PDT
Comment on attachment 235759 [details]
Patch

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

> Source/WebCore/ChangeLog:40
> +        * bindings/js/DOMObjectHashTableMap.cpp: Removed.

Looks like we need to remove this from the other build systems, not just Xcode project files.
Comment 10 WebKit Commit Bot 2014-07-30 15:52:59 PDT
Comment on attachment 235762 [details]
Patch for landing

Rejecting attachment 235762 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-02', 'apply-attachment', '--no-update', '--non-interactive', 235762, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
cess/Plugins/Netscape/JSNPMethod.cpp
Hunk #1 FAILED at 43.
1 out of 1 hunk FAILED -- saving rejects to file Source/WebKit2/WebProcess/Plugins/Netscape/JSNPMethod.cpp.rej
patching file Source/WebKit2/WebProcess/Plugins/Netscape/JSNPObject.cpp
Hunk #1 FAILED at 55.
1 out of 1 hunk FAILED -- saving rejects to file Source/WebKit2/WebProcess/Plugins/Netscape/JSNPObject.cpp.rej

Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

Full output: http://webkit-queues.appspot.com/results/5635845524553728
Comment 11 Andreas Kling 2014-07-30 18:00:27 PDT
Committed r171824: <http://trac.webkit.org/changeset/171824>
Comment 12 Csaba Osztrogonác 2014-07-30 19:08:27 PDT
(In reply to comment #11)
> Committed r171824: <http://trac.webkit.org/changeset/171824>

FYI: It broke the Apple Windows build.
Comment 13 Csaba Osztrogonác 2014-07-30 23:43:31 PDT
(In reply to comment #12)
> (In reply to comment #11)
> > Committed r171824: <http://trac.webkit.org/changeset/171824>
> 
> FYI: It broke the Apple Windows build.

The build is still broken, please fix it ASAP.

     1>jsc.obj : error LNK2001: unresolved external symbol "struct JSC::HashTable const JSC::globalObjectTable" (?globalObjectTable@JSC@@3UHashTable@1@B)
     1>C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\bin32\jsc.exe : fatal error LNK1120: 1 unresolved externals