Ignore:
Timestamp:
Jul 30, 2009, 7:57:31 PM (16 years ago)
Author:
[email protected]
Message:

2009-07-30 Gavin Barraclough <[email protected]>

Reviewed by NOBODY (build fix).

Temporarily revert r46618 since this is b0rking on Linux.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/bytecode/CodeBlock.h

    r46618 r46620  
    3737#include "JumpTable.h"
    3838#include "Nodes.h"
    39 #include "PtrAndFlags.h"
    4039#include "RegExp.h"
    4140#include "UString.h"
     
    5554
    5655namespace JSC {
    57 
    58     enum HasSeenShouldRepatch {
    59         hasSeenShouldRepatch
    60     };
    6156
    6257    class ExecState;
     
    111106        CodeLocationDataLabelPtr hotPathBegin;
    112107        CodeLocationNearCall hotPathOther;
    113         PtrAndFlags<CodeBlock, HasSeenShouldRepatch> ownerCodeBlock;
     108        CodeBlock* ownerCodeBlock;
    114109        CodeBlock* callee;
    115110        unsigned position;
     
    117112        void setUnlinked() { callee = 0; }
    118113        bool isLinked() { return callee; }
    119 
    120         bool seenOnce()
    121         {
    122             return ownerCodeBlock.isFlagSet(hasSeenShouldRepatch);
    123         }
    124 
    125         void setSeen()
    126         {
    127             ownerCodeBlock.setFlag(hasSeenShouldRepatch);
    128         }
    129114    };
    130115
     
    136121        }
    137122
    138         bool seenOnce()
    139         {
    140             return cachedPrototypeStructure.isFlagSet(hasSeenShouldRepatch);
    141         }
    142 
    143         void setSeen()
    144         {
    145             cachedPrototypeStructure.setFlag(hasSeenShouldRepatch);
    146         }
    147 
    148123        CodeLocationCall callReturnLocation;
    149124        CodeLocationDataLabelPtr structureLabel;
    150125        Structure* cachedStructure;
    151         PtrAndFlags<Structure, HasSeenShouldRepatch> cachedPrototypeStructure;
     126        Structure* cachedPrototypeStructure;
    152127    };
    153128
Note: See TracChangeset for help on using the changeset viewer.