Bug 71439 - ValueRecovery should be moved out of the DFG JIT
Summary: ValueRecovery should be moved out of the DFG JIT
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 71436
  Show dependency treegraph
 
Reported: 2011-11-02 23:45 PDT by Filip Pizlo
Modified: 2011-11-02 23:56 PDT (History)
1 user (show)

See Also:


Attachments
the patch (52.00 KB, patch)
2011-11-02 23:47 PDT, Filip Pizlo
no flags Details | Formatted Diff | Diff
the patch (37.10 KB, patch)
2011-11-02 23:50 PDT, Filip Pizlo
oliver: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2011-11-02 23:45:26 PDT
The ValueRecovery functionality (and associated classes and enums such as DataFormat and VirtualRegister) should be moved out of the dfg/ directory and into the bytecode/ directory, since this information will need to be saved in CodeBlocks to support features such as function.arguments.
Comment 1 Filip Pizlo 2011-11-02 23:47:21 PDT
Created attachment 113436 [details]
the patch
Comment 2 WebKit Review Bot 2011-11-02 23:49:35 PDT
Attachment 113436 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1

Source/JavaScriptCore/bytecode/ValueRecovery.h:325:  "DataFormat.h" already included at Source/JavaScriptCore/bytecode/ValueRecovery.h:29  [build/include] [4]
Source/JavaScriptCore/bytecode/ValueRecovery.h:326:  "JSValue.h" already included at Source/JavaScriptCore/bytecode/ValueRecovery.h:30  [build/include] [4]
Source/JavaScriptCore/bytecode/ValueRecovery.h:327:  "MacroAssembler.h" already included at Source/JavaScriptCore/bytecode/ValueRecovery.h:31  [build/include] [4]
Source/JavaScriptCore/bytecode/ValueRecovery.h:328:  "VirtualRegister.h" already included at Source/JavaScriptCore/bytecode/ValueRecovery.h:32  [build/include] [4]
Source/JavaScriptCore/bytecode/ValueRecovery.h:329:  "wtf/Platform.h" already included at Source/JavaScriptCore/bytecode/ValueRecovery.h:33  [build/include] [4]
Source/JavaScriptCore/bytecode/VirtualRegister.h:69:  "wtf/Platform.h" already included at Source/JavaScriptCore/bytecode/VirtualRegister.h:29  [build/include] [4]
Source/JavaScriptCore/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Source/JavaScriptCore/bytecode/DataFormat.h:211:  "wtf/Assertions.h" already included at Source/JavaScriptCore/bytecode/DataFormat.h:29  [build/include] [4]
Total errors found: 8 in 8 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Filip Pizlo 2011-11-02 23:50:58 PDT
Created attachment 113437 [details]
the patch

Fixed changelog and merge issues.
Comment 4 Filip Pizlo 2011-11-02 23:56:12 PDT
Landed in http://trac.webkit.org/changeset/99144