⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 112039 in webkit


Ignore:
Timestamp:
Mar 25, 2012, 4:35:07 PM (15 years ago)
Author:
fpizlo@apple.com
Message:

DFGOperands should be moved out of the DFG and into bytecode
​https://bugs.webkit.org/show_bug.cgi?id=82151

Reviewed by Dan Bernstein.

  • GNUmakefile.list.am:
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • bytecode/Operands.h: Copied from Source/JavaScriptCore/dfg/DFGOperands.h.
  • dfg/DFGBasicBlock.h:
  • dfg/DFGNode.h:
  • dfg/DFGOSREntry.h:
  • dfg/DFGOSRExit.h:
  • dfg/DFGOperands.h: Removed.
  • dfg/DFGVariableAccessData.h:
Location:
trunk/Source/JavaScriptCore
Files:
8 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r112018 r112039  
     12012-03-25  Filip Pizlo  <fpizlo@apple.com>
     2
     3        DFGOperands should be moved out of the DFG and into bytecode
     4        https://bugs.webkit.org/show_bug.cgi?id=82151
     5
     6        Reviewed by Dan Bernstein.
     7
     8        * GNUmakefile.list.am:
     9        * JavaScriptCore.xcodeproj/project.pbxproj:
     10        * bytecode/Operands.h: Copied from Source/JavaScriptCore/dfg/DFGOperands.h.
     11        * dfg/DFGBasicBlock.h:
     12        * dfg/DFGNode.h:
     13        * dfg/DFGOSREntry.h:
     14        * dfg/DFGOSRExit.h:
     15        * dfg/DFGOperands.h: Removed.
     16        * dfg/DFGVariableAccessData.h:
     17
    1182012-03-24  Filip Pizlo  <fpizlo@apple.com>
    219
  • trunk/Source/JavaScriptCore/GNUmakefile.list.am

    r111974 r112039  
    118118        Source/JavaScriptCore/bytecode/Opcode.cpp \
    119119        Source/JavaScriptCore/bytecode/Opcode.h \
     120        Source/JavaScriptCore/bytecode/Operands.h \
    120121        Source/JavaScriptCore/bytecode/PolymorphicPutByIdList.cpp \
    121122        Source/JavaScriptCore/bytecode/PolymorphicPutByIdList.h \
    … …  
    176177        Source/JavaScriptCore/dfg/DFGNodeType.h \
    177178        Source/JavaScriptCore/dfg/DFGEdge.h \
    178         Source/JavaScriptCore/dfg/DFGOperands.h \
    179179        Source/JavaScriptCore/dfg/DFGOperations.cpp \
    180180        Source/JavaScriptCore/dfg/DFGOperations.h \
  • trunk/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

    r111974 r112039  
    7575                0F2BDC15151C5D4D00CD8910 /* DFGFixupPhase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0F2BDC12151C5D4A00CD8910 /* DFGFixupPhase.cpp */; };
    7676                0F2BDC16151C5D4F00CD8910 /* DFGFixupPhase.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F2BDC13151C5D4A00CD8910 /* DFGFixupPhase.h */; settings = {ATTRIBUTES = (Private, ); }; };
     77                0F2BDC2C151FDE9100CD8910 /* Operands.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F2BDC2B151FDE8B00CD8910 /* Operands.h */; settings = {ATTRIBUTES = (Private, ); }; };
    7778                0F2C556F14738F3100121E4F /* DFGCodeBlocks.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F2C556E14738F2E00121E4F /* DFGCodeBlocks.h */; settings = {ATTRIBUTES = (Private, ); }; };
    7879                0F2C557014738F3500121E4F /* DFGCodeBlocks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0F2C556D14738F2E00121E4F /* DFGCodeBlocks.cpp */; };
    … …  
    101102                0F5F08CF146C7633000472A9 /* UnconditionalFinalizer.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F5F08CE146C762F000472A9 /* UnconditionalFinalizer.h */; settings = {ATTRIBUTES = (Private, ); }; };
    102103                0F620174143FCD330068B77C /* DFGVariableAccessData.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F620172143FCD2F0068B77C /* DFGVariableAccessData.h */; settings = {ATTRIBUTES = (Private, ); }; };
    103                 0F620175143FCD370068B77C /* DFGOperands.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F620171143FCD2F0068B77C /* DFGOperands.h */; settings = {ATTRIBUTES = (Private, ); }; };
    104104                0F620176143FCD3B0068B77C /* DFGBasicBlock.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F620170143FCD2F0068B77C /* DFGBasicBlock.h */; settings = {ATTRIBUTES = (Private, ); }; };
    105105                0F620177143FCD3F0068B77C /* DFGAbstractValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F62016F143FCD2F0068B77C /* DFGAbstractValue.h */; settings = {ATTRIBUTES = (Private, ); }; };
    … …  
    725725                0F2BDC12151C5D4A00CD8910 /* DFGFixupPhase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DFGFixupPhase.cpp; path = dfg/DFGFixupPhase.cpp; sourceTree = "<group>"; };
    726726                0F2BDC13151C5D4A00CD8910 /* DFGFixupPhase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DFGFixupPhase.h; path = dfg/DFGFixupPhase.h; sourceTree = "<group>"; };
     727                0F2BDC2B151FDE8B00CD8910 /* Operands.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Operands.h; sourceTree = "<group>"; };
    727728                0F2C556D14738F2E00121E4F /* DFGCodeBlocks.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DFGCodeBlocks.cpp; sourceTree = "<group>"; };
    728729                0F2C556E14738F2E00121E4F /* DFGCodeBlocks.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DFGCodeBlocks.h; sourceTree = "<group>"; };
    … …  
    756757                0F62016F143FCD2F0068B77C /* DFGAbstractValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DFGAbstractValue.h; path = dfg/DFGAbstractValue.h; sourceTree = "<group>"; };
    757758                0F620170143FCD2F0068B77C /* DFGBasicBlock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DFGBasicBlock.h; path = dfg/DFGBasicBlock.h; sourceTree = "<group>"; };
    758                 0F620171143FCD2F0068B77C /* DFGOperands.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DFGOperands.h; path = dfg/DFGOperands.h; sourceTree = "<group>"; };
    759759                0F620172143FCD2F0068B77C /* DFGVariableAccessData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DFGVariableAccessData.h; path = dfg/DFGVariableAccessData.h; sourceTree = "<group>"; };
    760760                0F66E16814DF3F1300B7B2E4 /* DFGAdjacencyList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DFGAdjacencyList.h; path = dfg/DFGAdjacencyList.h; sourceTree = "<group>"; };
    … …  
    20032003                                0FA581B9150E952A00B9A2D9 /* DFGNodeType.h */,
    20042004                                0F66E16914DF3F1300B7B2E4 /* DFGEdge.h */,
    2005                                 0F620171143FCD2F0068B77C /* DFGOperands.h */,
    20062005                                86EC9DBF1328DF82002B2AD7 /* DFGOperations.cpp */,
    20072006                                86EC9DC01328DF82002B2AD7 /* DFGOperations.h */,
    … …  
    21062105                                0F21C27E14BEAA8000ADC64B /* BytecodeConventions.h */,
    21072106                                0F0FC45814BD15F100B81154 /* LLIntCallLinkInfo.h */,
     2107                                0F2BDC2B151FDE8B00CD8910 /* Operands.h */,
    21082108                                0F9FC8BF14E1B5FB00D52AE0 /* PolymorphicPutByIdList.cpp */,
    21092109                                0F9FC8C014E1B5FB00D52AE0 /* PolymorphicPutByIdList.h */,
    … …  
    22362236                                86EC9DCC1328DF82002B2AD7 /* DFGJITCompiler.h in Headers */,
    22372237                                86ECA3EA132DEF1C002B2AD7 /* DFGNode.h in Headers */,
    2238                                 0F620175143FCD370068B77C /* DFGOperands.h in Headers */,
    22392238                                86EC9DD01328DF82002B2AD7 /* DFGOperations.h in Headers */,
    22402239                                0FD82E57141DAF1000179C94 /* DFGOSREntry.h in Headers */,
    … …  
    25022501                                0FA581BC150E953000B9A2D9 /* DFGNodeType.h in Headers */,
    25032502                                0F2BDC16151C5D4F00CD8910 /* DFGFixupPhase.h in Headers */,
     2503                                0F2BDC2C151FDE9100CD8910 /* Operands.h in Headers */,
    25042504                        );
    25052505                        runOnlyForDeploymentPostprocessing = 0;
  • trunk/Source/JavaScriptCore/bytecode/Operands.h

    r112024 r112039  
    11/*
    2  * Copyright (C) 2011 Apple Inc. All rights reserved.
     2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
    … …  
    2424 */
    2525
    26 #ifndef DFGOperands_h
    27 #define DFGOperands_h
    28 
    29 #include <wtf/Platform.h>
    30 
    31 #if ENABLE(DFG_JIT)
     26#ifndef Operands_h
     27#define Operands_h
    3228
    3329#include "CallFrame.h"
    3430#include <wtf/Vector.h>
    3531
    36 namespace JSC { namespace DFG {
     32namespace JSC {
    3733
    3834// argument 0 is 'this'.
    … …  
    158154}
    159155
    160 } } // namespace JSC::DFG
     156} // namespace JSC
    161157
    162 #endif // ENABLE(DFG_JIT)
     158#endif // Operands_h
    163159
    164 #endif // DFGOperands_h
    165 
  • trunk/Source/JavaScriptCore/dfg/DFGBasicBlock.h

    r110008 r112039  
    3131#include "DFGAbstractValue.h"
    3232#include "DFGNode.h"
    33 #include "DFGOperands.h"
     33#include "Operands.h"
    3434#include <wtf/OwnPtr.h>
    3535#include <wtf/Vector.h>
  • trunk/Source/JavaScriptCore/dfg/DFGNode.h

    r112013 r112039  
    3737#include "DFGNodeFlags.h"
    3838#include "DFGNodeType.h"
    39 #include "DFGOperands.h"
    4039#include "DFGVariableAccessData.h"
    4140#include "JSValue.h"
     41#include "Operands.h"
    4242#include "PredictedType.h"
    4343#include "ValueProfile.h"
  • trunk/Source/JavaScriptCore/dfg/DFGOSREntry.h

    r102743 r112039  
    2828
    2929#include "DFGAbstractValue.h"
    30 #include "DFGOperands.h"
     30#include "Operands.h"
    3131#include <wtf/BitVector.h>
    3232
  • trunk/Source/JavaScriptCore/dfg/DFGOSRExit.h

    r108677 r112039  
    3636#include "DFGExitProfile.h"
    3737#include "DFGGPRInfo.h"
    38 #include "DFGOperands.h"
    3938#include "MacroAssembler.h"
    4039#include "MethodOfGettingAValueProfile.h"
     40#include "Operands.h"
    4141#include "ValueProfile.h"
    4242#include "ValueRecovery.h"
  • trunk/Source/JavaScriptCore/dfg/DFGVariableAccessData.h

    r112015 r112039  
    2828
    2929#include "DFGNodeFlags.h"
    30 #include "DFGOperands.h"
     30#include "Operands.h"
    3131#include "PredictedType.h"
    3232#include "VirtualRegister.h"
Note: See TracChangeset for help on using the changeset viewer.